• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Need to load image before text in the web page

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am using HTML, CSS and Javascript to build a web site. The first page contains a Javascript slideshow which loads only after the text in that page loads. I want the slideshow to start running before the text in that page appears. I am using onLoad() event in the body tag to load the slideshow. Can anyone please tell me how can I do that?

Also everytime I move to the second page, the image layout in that page changes and the image is displaying below the text, whereas it is supposed to display along side of the text. It is working fine in my local system whereas when I host it on my web server, this problem occurs.

Kindly help me as soon as possible.

thanks a lot.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Set the text's visibility to hidden and show it. Just remember people who have JS disabled might be a little screwed.

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic