Announcement

Collapse
No announcement yet.

How to do round-robin text?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to do round-robin text?

    If I have a number of text stings how can I get them to display on my site in a round robin fashion?

    I would want the a string displayed on each page of my website, but each time the user changes page they should get the next string, eg (if there were 4 messages in total) :

    homepage - "message 1"
    click onto section page - "message 2"
    click onto product page - "message 3"
    click back to section page - "message 4"
    click onto another product page - "message 1"
    click onto 'contact us' page - "message 2"
    etc, etc
    John

    #2
    You'll probably need to use a cookie to keep track of where in the round robin the user is and then use a bit of javascript to check the cookie and display the right line of text.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

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

    Comment


      #3
      Similar thing has been covered before - see http://community.actinic.com/showthread.php?t=16995 and Normans reply which could be modifed for text rather than images


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment

      Working...
      X