please dont rip this site
The Frames Collection

Note : Both Netscape and Internet Explorer support the Frames collection (Netscape call it an array). For properties, methods and events that are supported by frame elements, see the <FRAME> and <IFRAME> topics.

The Frames collection is an ordered, indexed (by source order) array, containing a reference to Window Objects. If the document contains a <BODY> element, then the frames collection contains references to the <IFRAME> elements in the document. If the document contains a <FRAMESET> element, then the frame collection is populated with references to <FRAME> elements. (Note : Netscape doesn't support <IFRAME> and so will only populate the frames collection with references to valid <FRAME> elements. Also, <IFRAME> elements that are referenced across frames/windows can only be accessed through the Document Object).

Properties

length
The length property returns the number of frames in the collection. Note that the length count starts at 1, not 0 as the frames collection index does.

Methods

item
The item method retrieves single items, or sub-collections from the all collection. It accepts the following arguments:

all.item(index)

If index is a number, then the method returns a reference to the frame object at that position in the frames collections index. I.e.

bIsScrolling=document.frames.item(2).scrolling

would make bIsScrolling be a boolean value, depending on the value of the SCROLLING attribute of the referenced frame object.

If the index property is a string value, then the item method returns the first valid frame object that has the NAME or ID used as the string contained in the index argument.


file: /Techref/language/html/ib/Scripting_Reference/framcol.htm, 3KB, , updated: 2004/3/1 16:47, local time: 2024/10/31 18:04,
TOP NEW HELP FIND: 
18.188.168.78:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/language/html/ib/Scripting_Reference/framcol.htm"> The Frames collection</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed? From: "/language/html/ib/Scripting_Reference/framcol.htm"

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .