what script that can created mini web brower...

Discussion in 'JavaScript' started by kezhu911, Mar 17, 2009.

  1. #1
    hi just wondering if anyone can help me out of, what java script can I use to create another mini webbrower on my website that display ads from another of my webpage
     
    kezhu911, Mar 17, 2009 IP
  2. diligenthost

    diligenthost Peon

    Messages:
    685
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Easily answered you could put up an iframe and put the wanted content in the frame. If you're trying to include it on the page itself, it's hard to know what to say without knowing what you're trying to add. You could PHP include it, or if it's just a script for ads you should be able to add it directly on the page, among other things.
     
    diligenthost, Mar 17, 2009 IP
  3. kezhu911

    kezhu911 Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for replying
    this is the code I am using, and I would like to make a similar code like this

    <script type='text/javascript'>
    //interstitial ad
    xxxwebtraffic_enable_inter = true; xxxwebtraffic_maxad = -1;
    xxxwebtraffic_hourcap = -1; xxxwebtraffic_showcap = 3;
    //default banner house ad url
    xxxwebtraffic_default_url = 'http://www.yahoo.com';
    xxxwebtraffic_banner_border = ''; xxxwebtraffic_banner_ad_bg = '';
    xxxwebtraffic_banner_link_color = ''; xxxwebtraffic_banner_text_color = '';
    xxxwebtraffic_banner_text_banner = true; xxxwebtraffic_banner_image_banner = true;
    xxxwebtraffic_banner_show = 3;
    xxxwebtraffic_post_click_url = '';
    </script>
    <script type="text/javascript" src="http://serving.xxxwebtraffic.com/showAd_net.php?nid=3&pid=794&adtype=7&sid=891"></script>
    <noscript><a href='http://xxxwebtraffic.com'>behavioral targeting</a></noscript>

    the code above is from the ad company I am using, once they can't find me ad they will replace the ad browser with yahoo.com, I just wanna figured how to use this code to just display yahoo.com on my website
     
    kezhu911, Mar 17, 2009 IP