![]() |
Using More than One Layer in Web Page![]() ![]() ![]() ![]() ![]()
<html><head> <title>Multiple Layers</title> </head> <body> <layer name=one top=0 left=0 width=150 bgcolor=white> <p>This is layer numer1. This is layer number 1. This is layer number 1.</p> </layer> <layer name=two top=0 left=0 width=150 bgcolor=white> <layer name=three top=0 left=0 width=150 bgcolor=white> <layer name=four top=0 left=0 width=150 bgcolor=white> Now that you have set the layers, so that only the first layer is visible, you can attach a script to the document to control which layer is displayed at any given time. You'll control the layer with a form and four buttons. The script calls one function that hides the current layer and displays the selected layer. The page now includes a script to display the desired layer and to hide the current layer.
|
|
Domain NamesDHTML Document Object Model Features of Dynamic HTML HTML Versus DHTML Netscape's Vision of DHTML Microsoft Vision of DHTML Cascading Style Sheets(CSS) Inline Style Sheets Embedded Style for a Page Linked Cascading Style Sheet Text Specific Style AttributesCSS Attributes Assigning Classes Java Script Style Sheets(JSSS) Object Property Functions Methods
Creating Style Sheets with JSSS New JSSS Methods Working Layers Positioning the Layer Using More than One Layer Moving a Layer Around on the Page Events
The mouseOver and mouseOut Events The mouseMove Event The Keyboard Events The mouseDown and mouseUp Events The dragDrop Event Error Event Form Event The Script Tag Changing Text Color Inline Text Attribute Changes Text Dynamically Changing StylesExample of Dynamically Changing Style Dynamically Changing Content HTML Replacement Changing Text Content An Example of HTML Graphics ReplacementWeb DesignWeb HostingE Commerce |
| Home | Web Hosting | Web Design | Sitemap |
| Copyright (C) 2007. Web Domain design hosting. All rights reserved. |