Archive of UserLand's first discussion group, started October 5, 1998.


Author:Andrew Wooldridge
Posted:2/25/2000; 12:29:18 PM
Topic:scriptingNews outline for 2/25/00
Msg #:15259 (In response to 15254)
Prev/Next:15258 / 15260

Another solution, for this specific case is to remove the script reference and place it in the head, then, place a dummy or "loading" gif in the correct location. Then swap that image out after the page has loaded.

So something like this



Then in the new js file, just do something like this:

function bannerAd(bannerID){



This way the page renders without waiting, but then when it's done, the right gif pops into place!

This page was archived on 6/13/2001; 4:54:24 PM.

© Copyright 1998-2001 UserLand Software, Inc.