Forum Moderators: open

Message Too Old, No Replies

Javascript popping onto page after it loads

Is there a way to have the page wait till the external script runs?

         

donovanh

12:21 am on Aug 23, 2006 (gmt 0)

10+ Year Member



Hi,

I have a site that has a few adverts called from another source, and found that they "pop" onto the page a little after it loads. I feel this may be quite disconcerting for the users as the page content jumps to make room.

Would it be possible to have some kind of onload statement that checks to see if the external ads have been received, before displaying the page?

Don

penders

5:58 pm on Aug 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I think that maybe the correct space should be reserved on the page (perhaps with a div of a fixed width and height) for the advert to go in. This will prevent the page contents 'jumping' to make room, regardless of when the advert appears.

donovanh

9:43 pm on Aug 27, 2006 (gmt 0)

10+ Year Member



Thanks for the suggestion... that should certainly stop the page contents jumping. :)