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

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на 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

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