Reply to Re: Such a command as 'onbeforeload'?

Your name:

Reply:


Posted by Jonathan N. Little on 11/15/07 16:46

nolo contendere wrote:
> On Nov 15, 5:44 am, "CJS" <a...@anon.com> wrote:
>> "nolo contendere" <simon.c...@fmr.com> wrote in message
>>
>> news:1195066138.248524.40570@50g2000hsm.googlegroups.com...
>>
>>> 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.
>>> I didn't see such an event. But what are you trying to accomplish?
>>> Perhaps there is a way to do what you require via another path.
>> Simply what I want to accomplish is the popup to come up *first* befoer any
>> other page elements load. It is complicated as to why, and other factors,
>> but that is what needs to happen.
>>
>> The onload tag seems to open happen after the page has finished loading
>> completely, which is odd.
>
> Try something like this:
>
<snip code>

If the initial page takes so long to load that you need an progress
indicator, then maybe you need to reevaluate the content of your page
and break it up into more manageable size bits...

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация