|
||
| Inside Technique : Layering Pages With CSS positioning and script you can create cross-browser transparent DIV's whose contents come from an external file. These transparent containers run in both Netscape Navigator 4.0 and Internet Explorer 4.0. By creating a single page with areas that dynamically change, you can create a rich user experience. The traditional navigation model of visibly returning to the server can be improved. Instead, your web-site's navigation can be made more seamless and integrated. With your 4.0 browser, you can view a demonstration of layering pages. Creating the DIV'sLayering pages requires you to absolutely positioned DIV's with supply them with a unique IDs. In the
demonstration, we created two DIV's that were positioned on top of each other:
By omitting a Loading a DocumentThe DIV's start without any contents. To load a document
from the server into the DIV, we created a function We also expose a higher level Either of the above two methods can be used for updating the contents of a positioned DIV. On the next page we review the code. Page 1:Layering Pages © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |