April 10th, 2000, 12:00 PM
i need some ubiquitous way of loading banners last... after the whole page loads that is... right now i'm using the ilayer and layer tags (ilayer on top of tha page where the banner is supposed to come and layer at the bottom of the page so that it's loaded last) and then using moveto on the layer to the position of the ilayer... obviously it won't work with IE 'coz that dumb thing doesn't recognize layer / ilayer tags... and div's don't have the moveto event (or does it??).
April 10th, 2000, 09:13 PM
Could you in any way specify the goal you're trying to reach? Would there be any better/easier way of accomplishing this?
April 10th, 2000, 09:49 PM
the goal??? the idea is to load banners last - after the whole page has loaded... and by that i mean hitting the banner server last - after the content on the page has completely loaded...
much more efficient and commercially much more viable for website owners... : )
any smart ideas fellas???
April 11th, 2000, 04:57 AM
Create a blank div and using <body onLoad write the code that calls the bannner.
April 11th, 2000, 05:11 AM
onload doesn't really work as specified... it still runs the fn specified before "everything" on the page loads...
April 11th, 2000, 02:02 PM
It doesn't works? it's rare: I use this solution to change a page some seconds after all elements are loaded and it works.
Well; try this: create the blank div at beginning and a hidden div whith the banner inside at the end of the page. Add an onLoad call to the banner image that will put the code in the first div (using document.nameofdiv.document.write(bannercode) of course)
Anyway, I think that it must be an easy way to do this