Best & Easy Banner Rotator Script??

Discussion in 'Forum Management' started by glitto, Aug 2, 2009.

  1. #1
    If you visit my forum and browse few pages you will see that the top banner is rotating but it is not rotating with "Each" page visit.

    I am using a banner rotator script from this website http://www.htmlbasix.com/banner.shtml

    It is very easy to use, just put your image URL and link URL and it will generate the code which you can place on your site.. but as I said it is not rotating the banner with "each" page visit so I want to know some other banner ad rotator script that should change the banner with each page visit.

    Don't tell me about openx because I have used it but found it very difficult to use. Any recommendation for me?

    Thanks
     
    glitto, Aug 2, 2009 IP
  2. ascensions

    ascensions Active Member

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    If your forum is PHP a simple random function should be all that's needed. I'm not familar with ASP but it should have a similar function.
     
    ascensions, Aug 2, 2009 IP
  3. Password

    Password Well-Known Member

    Messages:
    127
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    
    http://www.designerwiz.com/JavaScripts/bannereffects/single_banner_rotator_on_refresh.htm
    
    Code (markup):
    I hope that helps you.
     
    Password, Aug 3, 2009 IP
  4. remember123

    remember123 Peon

    Messages:
    620
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #4
    <SCRIPT LANGUAGE="Javascript"><!-- 
    
    function banner() { 
    
    }; 
    
    banner = new banner(); 
    
    number = 0; 
    
     
    
    // bannerArray 
    
    banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNERURL' border='1'></a>"
    
    banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNERURL' border='1'></a>"
    
    banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNERURL' border='1'></a>" 
    
    banner[number++] = "<a href='REDIRECT_URL' target='_blank'><img src='BANNERURL' border='1'></a>"
    
     
    
    increment = Math.floor(Math.random() * number); 
    
    document.write(banner[increment]); 
    
    //--></SCRIPT>
    Code (markup):
     
    remember123, Aug 3, 2009 IP