Just as a general FYI: In Netscape 6 and Mozilla, you can grab a reference
to any HTML item in the page with document.getElementByID() You have to make
sure your elements have IDs, of course.
myDivOne = document.getElementByID("divOne");
You can also grab all HTML elements of a certain type by using
document.getElementsByTagName():
divs = document.getElementsByTagName("div");
This should return all top-level DIV elements in the page. It won't include
nested DIVs, but each HTML element also has it's own getElementsByTagName()
method, so it's possible to set up something recursive.
<plug type="shameless">
I have a bunch of tutorials on DHTML in Netscape 6/Moz posted at my site, if
you're interested.
</plug>
------
scott andrew lepera
[EMAIL PROTECTED]
web stuff: www.scottandrew.com
music stuff: www.walkingbirds.com
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help