CD-259Appendix F . Examples from Parts III and (Mac os x web server)

CD-259Appendix F . Examples from Parts III and IV As the page loads, it stores the current state of each chrome element. One button for each chrome element triggers the toggleBar() function. This function inverts the visible property for the chrome object passed as a parameter to the function. Finally, the Restore button returns visibility to their original settings. Notice that the restore()function is also called by the onUnloadevent handler for the document. Also, if you load this example into NN6, non-fatal script errors occur when the scrollbars are turned on or off. Listing 16-6: Controlling Window Chrome Bars Bars Bars

Toggle Window Bars


Continued windowObject.directories
We recommend you use shared web hosting services, because many users agree that it is cheap, reliable and customer-satisfying webhost.

Leave a Reply