How do you get part of the page to change periodically? RRS feed

  • Question

  • So many sites have a dynamic page where part of the screen changes after a specific period of time.
    Monday, May 7, 2012 6:35 PM

All replies

  • Scripting.  Javascript of some kind, usually.  Could be a timer control in an site.  Could be other...  It depends on what you want to do, specifically.
    Monday, May 7, 2012 6:44 PM
  • Depending upon your objective, the jQuery Innerfade plugin may fill the bill. It is lightweight, extremely simple to implement, flexible, and easily configured, requiring only standard HTML elements which will be indexed normally by search engines.

    Here is one example of it in use, rotating the image/caption pair on the left side of the pages (Home, Industrial, and Commercial). You can see how simply it's implemented by viewing the source and looking for the unordered list defined by

    <ul id="testList">

    Each image/caption pair in the rotator is simply defined as a list item in the list. As a result, standard CSS can be used to style them, they can be easily altered if desired, and key terms, such as the product names in the captions, are visible to the SEs.

    If your application is not image-based, it works for that, as well. Any standard HTML you want can be used. Here's an application where textual information is rotated. See the "Did You Know...?" section in the right sidebar. Once again, the rotator is defined using a simple unordered list, defined by

    <ul id="didYouKnow">

    There are fancier solutions out there, but Innerfade works like a champ, is simple to use, inexpensive (can't beat free! ;-), and will meet the needs of many. Check it out!


    Please remember to "Mark as Answer" the responses that resolved your issue. It is common courtesy to recognize those who have helped you, and it also makes it easier for visitors to find the resolution later.

    Monday, May 7, 2012 9:05 PM