+ Reply to Thread
Results 1 to 5 of 5

Thread: Ad Banner Rotator Help?
      
   

  1. #1
    chrisbugden is offline Private
    Join Date
    Aug 2008
    Posts
    3

    Default Ad Banner Rotator Help?

    hi everyone.
    i would like some pictures to change every 24 hours. but this option only goes up to 100 sec. and i think i might be able to change this if i go to the events.. but i have no idea where they are... help!
    thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: Ad Banner Rotator Help?

    Not sure on extending the BV one. But this script is quite simple & might be of use. Just paste the script bellow into a html box on the front of your page & preview. It will only show what is entered for that day of the month. Today is the VH logo with a short bit of text (Recommendation for today)
    But if you pick it up tomorrow it will show ( Tip 23 goes here)

    Code:
    <table border="0" width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="0">
    <tr><td width="100%">
    <script>
    <!--
    var today_obj=new Date()
    var today_date=today_obj.getDate()
    
    var tips=new Array()
    //Configure the below variable to contain the "header" of the tip
    var tiptitle=''
    
    //Configure the below array to hold the 31 possible tips of the month
    tips[1]='a text Tip goes here for the 1st day of the month'
    tips[2]='Tip 2 goes here'
    tips[3]='Tip 3 goes here'
    tips[4]='Tip 4 goes here'
    tips[5]='Tip 5 goes here'
    tips[6]='Tip 6 goes here'
    tips[7]='Tip 7 goes here'
    tips[8]='Tip 8 goes here'
    tips[9]='Tip 9 goes here'
    tips[10]='Tip 10 goes here'
    tips[11]='Tip 11 goes here'
    tips[12]='Tip 12 goes here'
    tips[13]='Tip 13 goes here'
    tips[14]='Tip 14 goes here'
    tips[15]='Tip 15 goes here'
    tips[16]='Tip 16 goes here'
    tips[17]='Tip 17 goes here'
    tips[18]='Tip 18 goes here'
    tips[19]='Tip 19 goes here'
    tips[20]='Tip 20 goes here'
    tips[21]='Tip 21 goes here'
    tips[22]='Recomendation for today <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
    tips[23]='Tip 23 goes here'
    tips[24]='Tip 24 goes here'
    tips[25]='Tip 25 goes here'
    tips[26]='Tip 26 goes here'
    tips[27]='Tip 27 goes here'
    tips[28]='Tip 28 goes here'
    tips[29]='Tip 29 goes here'
    tips[30]='Tip 30 goes here'
    tips[31]='Tip 31 goes here'
    
    document.write(tiptitle)
    document.write(tips[today_date])

  3. #3
    chrisbugden is offline Private
    Join Date
    Aug 2008
    Posts
    3

    Default Re: Ad Banner Rotator Help?

    great thanks ill give it a go

  4. #4
    chrisbugden is offline Private
    Join Date
    Aug 2008
    Posts
    3

    Default Re: Ad Banner Rotator Help?

    it didnt work for me. any other ideas?

  5. #5
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,719

    Default Re: Ad Banner Rotator Help?

    Ah! Try this.


    Code:
    <table border="0" width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="0">
    <tr><td width="100%">
    
    <script>
    <!--
    
    var today_obj=new Date()
    var today_date=today_obj.getDate()
    
    var tips=new Array()
    //Configure the below variable to contain the "header" of the tip
    var tiptitle=''
    
    //Configure the below array to hold the 31 possible tips of the month
    tips[1]='Tip 1 goes here'
    tips[2]='Tip 2 goes here'
    tips[3]='Tip 3 goes here'
    tips[4]='Tip 4 goes here'
    tips[5]='Tip 5 goes here'
    tips[6]='Tip 6 goes here'
    tips[7]='Tip 7 goes here'
    tips[8]='Tip 8 goes here'
    tips[9]='Tip 9 goes here'
    tips[10]='Tip 10 goes here'
    tips[11]='Tip 11 goes here'
    tips[12]='Tip 12 goes here'
    tips[13]='Tip 13 goes here'
    tips[14]='Tip 14 goes here'
    tips[15]='Tip 15 goes here'
    tips[16]='Tip 16 goes here'
    tips[17]='Tip 17 goes here'
    tips[18]='Tip 18 goes here'
    tips[19]='Tip 19 goes here'
    tips[20]='Tip 20 goes here'
    tips[21]='Tip 21 goes here'
    tips[22]='Tip 22 goes here'
    tips[23]='Tip 23 goes here'
    tips[24]='Tip 24 goes here'
    tips[25]='Tip 25 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
    tips[26]='Tip 26 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
    tips[27]='Tip 27 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
    tips[28]='Tip 28 goes here<img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="">'
    tips[29]='Tip 29 goes here'
    tips[30]='Tip 30 goes here'
    tips[31]='Tip 31 goes here'
    
    document.write(tiptitle)
    document.write(tips[today_date])
    
    //-->
    </script>
    
    </td></tr></table>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49