new popup window does not jump to anchor

D

Daniel Goldman

When I open a new popup window, with a url that includes an
anchor, about 1/5 of the time the page displays correctly
(jumps to anchor), 4/5 of the time page displays incorrectly
(starts from top). Here is the code I use:

HelpWindow_j = window.open ('webpage.htm#uniqAnchor', 'uniqName',
'hotkeys,location,resizable,scrollbars,height=300,width=600', true);

This happens in IE 6.0, not in NS 4.7; NS 4.7 works correctly.
I have not tested other browsers.

To see in action, click on some of the help links on:
http://www.ehdp.com/vn/ro/acv/txu1/dgw/eg1/index.htm
I want them to display a popup with help file positioned
correctly, but it usually displays file from top. The
location input field does show the correct url, with hash.

I have tried opening window with no url specified, then
setting location, location.href, or location.hash; same
problem. I've played around with setTimeout(). Did not help.

I know this is probably not a new problem, but I have not
seen a good answer anywhere. Please help!

Daniel Goldman
 
R

Richard Cornford

Sugapablo said:
It seems to be working for me AOK. I'm using Mozilla 1.3.1
as a browser.
Are your problems in IE?

As the OP includes the words:-

<quote>
This happens in IE 6.0, not in NS 4.7; NS 4.7 works
correctly. I have not tested other browsers.
</quote>

- I would guess that they probably are.

Richard.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top