Click to See Complete Forum and Search --> : multiple iframes NS7 vs. IE6


NZL
09-22-2003, 03:58 PM
Hi,

i have a page with two iframes in it and i want to be able to tell which one the user last was typing in.

With ie 6 i just have a variable like iframeName = "frameOne"; to start with then in the iframe tag i have:

<iframe onfocus="changeFrameName('frameTwo')"....

where changeFrameName() changes the frameName variable.

This works well in IE 6, however doesn't work in NS7. There seems to be no onEvent actions for iframes in NS7.

So if any could give an answer that works in both ie6 and ns7, that would be cool.

Thanks.

MotherNatrsSon
09-22-2003, 09:47 PM
Sound like you need to be in the javascript foume to me. Maybe a mod will move it there.

MNS