|
Posted by Thomas 'PointedEars' Lahn on 11/14/07 19:01
CJS 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.
If it is a popup window, it will be blocked. If it is something else,
loading it will only slow down or prevent loading of the other, more
important content; if it even works.
In any case, it is nothing that can be recommended. BTDT. You are far
better off with either reducing the size of the "heavy page", for example by
splitting it into several documents, and/or with structuring it better (for
example by avoiding layout tables in favor of CSS-positioned blocks) so that
the user can read the main content while it is loading.
F'up2 comp.lang.javascript
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16
[Back to original message]
|