Bhavna
12-29-2003, 05:28 AM
I have a web page which shows 2 horizontal frames.
My links need to open a file say 'A.html' in topframe & file 'B.html#xyz' in current frame
The javascript being called from a linked .js file is that i have written for linking to other pages is
function openWin(win1, anchor1, win2)
{
parent.frames['mainFrame'].location= win1 + ".htm#" + anchor1;
parent.frames['topFrame'].location = win2 + ".htm"
}
This is working fine in IE6 but not in IE5. IE5 opens the topframe file but fails to go to mainFrame#anchorlink file.
Please help me
My links need to open a file say 'A.html' in topframe & file 'B.html#xyz' in current frame
The javascript being called from a linked .js file is that i have written for linking to other pages is
function openWin(win1, anchor1, win2)
{
parent.frames['mainFrame'].location= win1 + ".htm#" + anchor1;
parent.frames['topFrame'].location = win2 + ".htm"
}
This is working fine in IE6 but not in IE5. IE5 opens the topframe file but fails to go to mainFrame#anchorlink file.
Please help me