Online Version: http://www.onlinetools.org/domlay/

.:domlay.js:.
Netscape 6 is out and with it the browser industry finally implemented the standards the 
W3C was setting two years ago. This is great, but most of our former DHTML routines tweaking for each browser fail their purpose now.
domlay.js is a routine for showing/hiding, positioning and changing the content of layers within the document and is compatible with netscape 4.x, internet explorer 4.x, internet explorer 5 and netscape 6.
All you have to do is to give it the name of the layer, the visibility trigger its coordinates and the new content.
Chris Heilmann

.:Usage:.
Using domlay.js is fairly easy, just call it with its desired attributes:

domlay(id,trigger,lax,lay,content)

id
is the name of the layer, fe. 'mylayer'
trigger
is the visibility trigger 0=invisible | 1=visible
lax
is the horizontal coordinate (integer value)
lay
is the vertical coordinate (integer value)
content
is the new content (alphanumeric expression)

.:Copyright:.
This script is Open Source written by Chris Heilmann, the personal usage of is free, as long as you keep the line refering to this page in there.
Thanks must go to Dan Steinman for the best DHTML site there is, Scott Andrew for some tutorials, Reyn for his content tweak, Sambar Technologies for a server running smoothly on all windoze platforms, Activestate for Active Perl, and of course Allaire for Homesite.
May the source be with you. 

.:Source:.
Domlay is a simple Javascript routine, just link or paste it in the head section of the page. 

(c) Christian Heilmann mail:info@onlinetools.org  w3:http://www.onlinetools.org



