Is there a way to have automatically rotating content?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Richest
    Staff Sergeant

    • Sep 2007
    • 45

    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
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    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>
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • Karen Mac
      General

      • Apr 2006
      • 8332

      #3
      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
      02036089024 / United Kingdom
      291916438 / Australia

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

      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)


      Comment

      • Richest
        Staff Sergeant

        • Sep 2007
        • 45

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

        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

        Comment

        • Collectors-info
          General

          • Feb 2006
          • 8703

          #5
          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.
          Regards Chris.

          Collectables, Collecting, collectors-info.com

          www.chrismorris.co.uk

          House build project

          Comment

          • april
            Private

            • Sep 2008
            • 1

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

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

            Comment

            • Collectors-info
              General

              • Feb 2006
              • 8703

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

              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.
              Regards Chris.

              Collectables, Collecting, collectors-info.com

              www.chrismorris.co.uk

              House build project

              Comment

              • Richest
                Staff Sergeant

                • Sep 2007
                • 45

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

                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

                Comment

                • Collectors-info
                  General

                  • Feb 2006
                  • 8703

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

                  Pleasure! Good luck with the site.
                  Regards Chris.

                  Collectables, Collecting, collectors-info.com

                  www.chrismorris.co.uk

                  House build project

                  Comment

                  Working...
                  X