Results 1 to 9 of 9

Thread: Is there a way to have automatically rotating content?
      
   

  1. #1
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Is there a way to have automatically rotating content?

    Does Blue Voda have a way to have automatically rotating content on the index page of a website? The idea is to have 5-10 short topics that would display on the home page, one at a time, changing to a new topic each day. The purpose of this would be to encourage return visits since the home page would have an area that changes frequently. I want to use this on a church website to have a rotating daily devotional section. Any ideas would be greatly appreciated.
    Rich
    zionsbranch.org

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

    Default Re: Is there a way to have automatically rotating content?

    Hi, not for each day. But cut & paste the script below into a html box on the front of your page & press preview. But you would have to enter your text or images via some html. (Like below) Naturally each tip relates to a day in the month & will only show on that day.

    HTML Code:
    <script>
    <!--
    var today_obj=new Date()
    var today_date=today_obj.getDate()
    var tips=new Array()
    var tiptitle=''
    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 <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
    tips[16]='Tip 16 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
    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'
    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])
    //-->
    </script>

  3. #3
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,353

    Default Re: Is there a way to have automatically rotating content?

    Theres a script that the content can change each time the page is viewed. Used to be called PRINT PRAISE, to show scriptures or customer comments. This would probably work for what you want it to do.

    Other alternative is RSS feeds, or a script for like a News announcer? This could also be done dynamically with a php script and a database of scriptures. Im sure this has already been created ...again google it.

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  4. #4
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Re: Is there a way to have automatically rotating content?

    Quote Originally Posted by Collectors-info View Post
    Hi, not for each day. But cut & paste the script below into a html box on the front of your page & press preview. But you would have to enter your text or images via some html. (Like below) Naturally each tip relates to a day in the month & will only show on that day.

    HTML Code:
    <script>
    <!--
    var today_obj=new Date()
    var today_date=today_obj.getDate()
    var tips=new Array()
    var tiptitle=''
    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 <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
    tips[16]='Tip 16 goes here <img src="http://www.vodahost.com/vodatalk/vb3bluesaint/misc/logo.gif" alt="VH-Logo">'
    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'
    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])
    //-->
    </script>
    Hi Chris,
    This HTML code works great for what I need. But I have tried to add enought text on a "tip" line which would equal a paragraph. I haven't been able to figure out how to format multiple lines within a single days "tip". If I try to format the text manually by pressing the enter key at each point in the text I need to make a new line, nothing then displays. I have tried duplicating a days "tip" on a second line with new text within each line, but only the last "tip" line shows up. Any ideas?
    Thanks,
    Rich
    www.zionsbranch.org

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

    Default Re: Is there a way to have automatically rotating content?

    Hi, you need to add a <br> at the point you would like the line to return. This has to be done for each line break.
    Some tips on this site for html if you need to add some style to the text in your paragraphs.

    Good luck.

  6. #6
    april is offline Private
    Join Date
    Sep 2008
    Posts
    1

    Default Re: Is there a way to have automatically rotating content?

    how can i use my bluevoda? i cant handle it coz im a beginner

  7. #7
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Is there a way to have automatically rotating content?

    Quote Originally Posted by april View Post
    how can i use my bluevoda? i cant handle it coz im a beginner
    Only by going through the tutorials & not hijacking others forum posts.

  8. #8
    Richest is offline Staff Sergeant
    Join Date
    Sep 2007
    Location
    Independence, Missouri
    Posts
    45

    Default Re: Is there a way to have automatically rotating content?

    Quote Originally Posted by Collectors-info View Post
    Hi, you need to add a <br> at the point you would like the line to return. This has to be done for each line break.
    Some tips on this site for html if you need to add some style to the text in your paragraphs.

    Good luck.
    Hi Chris,
    Thank you for your help and especially for the website lead on HTML tips. I checked it out and it will help alot! I realize the time you and others spend answering question is valuable, and I greatly appreciate your contribution to this forum!
    Rich
    www.zionsbranch.org

  9. #9
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default Re: Is there a way to have automatically rotating content?

    Pleasure! Good luck with the site.

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