Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking the page while loading
Message
De
08/04/2002 11:36:29
 
 
À
08/04/2002 07:14:36
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00639340
Message ID:
00642231
Vues:
27
>For both IE & Netscape, initialise a variable ClickOK to false in the HTML header & setting to true in the onLoad event of the body of the document.
>
>For IE you could then use (all clickable items need modifying, though this could be avoided with CSS & behavior's to attach events)
>
>
><a href="xxxx.html" onClick="window.event.returnValue=ClickOK">.....</a>
>
>
>For Netscape you could then use the following, also in the HTML header :
>
>
>function myClickHandler()
>{
>return ClickOK
>}
>
>window.captureEvents( Event.CLICK )
>window.onClick = myClickHandler
>
For both, I used an approach of the error handler. I set the error handler at startup and remove it once the page is loaded.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform