Link to us
Web Design Toolbox
Home : Layer Effects : Write To Layer
Change the contents of a layer, just by clicking on a link. You can include any HTML markup you want, and change any layer on the page. This could also be used to change layers onLoad, onMouseOver, or any other event you want to use. You could actually make an entire site, on one page, just using this one script.
In the function, first tell it wich layer to change (TestLayer in our case), and then what you want displayed in your layer. In order for this to work, you must name your layers. Example:
Site designed, coded, and maintained by Web Shorts Site Design.