English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want to set a script in my page, that should perform a function:
Until my whole web page loads, it should show, that, "Please wait, while the Page loads". And when all images, scripts, header, sounds, flash, text, loads, ie; when page is downloaded 100% to 'tmp internet files', only after that it should be shown. Can anyone relpy me with that script or any component.

2006-12-10 00:43:58 · 1 answers · asked by Sheikh Aatif 1 in Computers & Internet Programming & Design

Page should load in hidden manner and the message should stay until the page executes the javascript.

2006-12-10 01:05:39 · update #1

1 answers

I have something similar on my website.

In my page I have the loading message at the top:


Page loading... Please wait
Please refresh the page if this message doesnt disappear after 10 seconds



Then at the bottom of my page I have a line of javascript:


(remove spaces)

What will happen is the page will load and the message will stay until the page executes the javascript.

Because the script is at the bottom it will execute last, i.e. after everything else has loaded.

Works fine for me

2006-12-10 00:48:22 · answer #1 · answered by Anonymous · 0 0

fedest.com, questions and answers