Link to home
Start Free TrialLog in
Avatar of pbastoul
pbastoul

asked on

location.hash problem with IE


Why ?

why IE3.0 reload a document when using location.hash ='top' ?
(IE4.0 NE3.0 and NE4.0 doesn't do that !!!)

more details of my problem :

I have two frames (leftFrame and rightFrame)
on leftFrame there are n images whith
onMouseOver="parent.rightFrame.location = 'file.htm#'+n
(REM this doesn't work : onMouseOver="parent.rightFrame.location.hash=n)

on rightFrame (long document)  we found :
<A NAME='1'></A>
text
text
text
<A NAME='2'></A>
text
text
text
....
...
<A NAME='n'></A>

when passing mouse over a picture the rightFrame
go to the specified anchor....
work great with IE but only with localfiles
(because IE3 always call the server for each mouseOver, wich can take a long time !!!)

Do you know a trick for that problem ?
Thanks for your help !

Pierre Bastoul
ASKER CERTIFIED SOLUTION
Avatar of kollegov
kollegov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pbastoul
pbastoul

ASKER

what about a 'document.search'  of JS ?