Any suggestions??

  I wanted to create a # of layers (all with different content) and then as 
a user clicks a button have different layers show up.

  I tried to do something like:
if (DynAPI.document.children['layerName1'].getVisible())
    DynAPI.document.children['layerName1'].setVisible(false);
else
    DynAPI.document.children['layerName1'].setVisible(true);

The objects are there because I can loop through them and .id gives 
layerName1,layerName2,layerName3,layerName4, for example...but I can't seem 
to figure out a way to grab one of those without looping through all of 
them.

  Thanks!
  -J

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to