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.
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.