Results 1 to 3 of 3

Thread: loading screen

  1. #1

    loading screen

    umm for this new website im making i was thinking of putting a RSS feed in to show the latest news. How would i be able to put a 'Content Loading' picture on the bit of the page whilst the rss feed is loading and when it has loaded the 'Content Loading' picture vanishes and is replaced by the RSS feed

  2. #2
    Join Date
    Mar 2005
    Athens, Greece
    Hi VDRS Host

    A good way is to place the rss feeds in an iframe and:

    Create a layer with the picture loading.

    <div id="divContentLoading"> your image here or other html content </div>
    On body tag of your html page create an onload handler like

    <body onload="document.getElementById('divContentLoading').style.display='none'">
    Something simple like that!

    And do not forget to add style to the div in order to place it where ever you want in the page (especially the Z-Index must be higher than 1)
    Last edited by 01globalnet; 11-24-2006 at 12:20 PM.

  3. #3
    ah ok thanks so then when the rss feed loads it will display the feed and take out the div

Posting Permissions

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