Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking the page while loading
Message
From
08/04/2002 11:36:29
 
 
To
08/04/2002 07:14:36
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00639340
Message ID:
00642231
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform