Article View: comp.lang.javascript
Article #209Re: Netscape and objects in the frames collection
From: Steve van Dongen
Date: Sun, 27 Jun 1999 00:00
Date: Sun, 27 Jun 1999 00:00
20 lines
1466 bytes
1466 bytes
Rob Sedgwick wrote: > > In IE it is possible to access objects in another frame using the > parent.frames collection, e.g. > > parent.frames["bottom"].prev.className = "Style1"; > > here "prev" is the id of an image on the page within the frame "bottom" > > This does not seem to work in Netscape where the items in the frames > collection do not seem to refer to the original pages. > Does anyone know a work-around for this? There is no need for a workaround; referring to object in other frames works using the same code as IE. className doesn't work in NN and there is no workaround for that. Regards, Steve
Technical Details
Message-ID:
<3776D26C.951E431@uniserve.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<930513636.819.0.nnrp-12.d4e4e97b@news.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f76f2,176e6025f244a7b X-Google-Attributes: gidf76f2,public X-Google-Thread: fb3cb,176e6025f244a7b X-Google-Attributes: gidfb3cb,public From: Steve van Dongen <svandong@uniserve.com> Subject: Re: Netscape and objects in the frames collection Date: 1999/06/27 Message-ID: <3776D26C.951E431@uniserve.com> X-Deja-AN: 494603040 Content-Transfer-Encoding: 7bit References: <930513636.819.0.nnrp-12.d4e4e97b@news.demon.co.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsabuse@remarQ.com X-Trace: 930533838 I.4G92M7S392DB781 usenet46.supernews.com Organization: Posted via RemarQ, http://www.remarQ.com - The Internet's Discussion Network Mime-Version: 1.0 Newsgroups: comp.lang.javascript,demon.homepages.authoring