Click to See Complete Forum and Search --> : focus in another frame


cat@home
07-21-2003, 07:23 AM
Hi,

I want to highlight my menu-item in "leftFrame", from the mainFrame.

onClick="parent.leftFrame.kunde.focus()"

It works perfectly with all IE Browser Versions, only one user has got problems with IE 5.5 and we cannot find out why.

The error message is: "line XX object expected"!

Does anybody know where the problem could be???

Cat@home.

Khalid Ali
07-21-2003, 08:58 AM
whats the code at line xxx and few lines above it...post your code here or better yet post a link

cat@home
07-21-2003, 11:11 AM
this is the position where the error message refers to:
<td align="right"><a href="suesswasser.htm" target="mainFrame" onClick="parent.leftFrame.suesswasser.focus()" onMouseOver="MM_swapImage('pfeilrechts1','','../../navig/pfeilr2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="../../navig/pfeilr1.gif" name="pfeilrechts1" width="30" height="11" border="0" id="pfeilrechts"></a></td>
I suppose it is the focus-function...

cat@home
07-21-2003, 11:36 AM
I found it! Sorry: it was the onMouseOut="MM_swapImgRestore()"

thanks for your help anyway!

C.