Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How many layers?

Status
Not open for further replies.

deca

Programmer
Dec 20, 2002
12
0
0
GB
Hello!

I need to know how many layers are present in my page.
There is a variable or something to do this?

Thanks and bye!
DeCa
 
for netscape you can use "document.layers.length". for ie, i think you will have to sort through the "document.all" array and determine which objects are layers and how many of them there are
 
Hi!

Cool! Thanks very much for the tip! :)

Ciao ciao!!
DeCa
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top