|
Posted by nolo contendere on 11/14/07 19:12
On Nov 14, 2:33 pm, "CJS" <a...@anon.com> wrote:
> Hi, I have a javascript popup which I want to happen BEFORE the rest of the
> page loads. It's something for people to read while quite a heavy page
> loads behind it.
>
> I tried using 'onbeforeload' instead of 'onload' in the Body tag, but it
> doesn't pop up at all then.
>
> Any ideas?
>
You could start off by showing a loader of some sort (image, txt,
whatever) in a div (style="display: block;"), with your content in a
div (style="display: none;"), and onload, call a function that sets
the loader div to display: none and the content div to display: block.
[Back to original message]
|