Using layers within frameset with NN4
1 posts in topic
Flat View  Flat View

Posted By:   Alberto_Sanchez
Posted On:   Monday, July 29, 2002 07:58 AM


I am trying to obtain the layers object for my page using document.layers within a js library.
When I use it from a normal HTML with no frames it works fine!!!

The problem comes when I put my page within a frameset.
The first time I use document.layers it is undefined, the second time returns the array.

Any ideas?

Thanks to all.


(I'm using NN4)

Re: Using layers within frameset with NN4

Posted By:   Firat_Tiryaki  
Posted On:   Tuesday, July 30, 2002 12:03 AM

It's important where you call the .js file... as a suggest, try to use parent.frameName.document.layers
About | Sitemap | Contact