Solved

Problem with anchors in IE3.02

Posted on 1999-01-26
3
216 Views
Last Modified: 2010-04-09
I have the following java script in an html file.

----------------------------------------------------------------------------------
<script language="JavaScript" type="text/javascript">
<!--
document.write('<form name="help"><select name="select1" size=1>');
document.write('<option value=none>Select your destination');
document.write('<option value=none>--------------------');
document.write('<option value="helpdesk/helpdesk.htm#mgmnt">Mgmnt & Personell');
document.write('<option value="helpdesk/helpdesk.htm#ug">Unigraphics Information');
document.write('<option value="helpdesk/helpdesk.htm#d121">D121 Reference Desk');
document.write('<option value="helpdesk/helpdesk.htm#misc">Miscellaneous');
document.write('</select>');
document.write('<input type="button" value="Go" onclick="gohelp()">');
document.write('</form>');
// end hiding contents -->
</script>

-----------------------------------------------------------------------------
As ;you can see the links are all to the same page but to a specific section of that page (helpdesk/helpdesk#xxx). This works fine in IE4 and all the versions of Netscape that I have tried it with. IE3 does not take the user to the proper location within the page - it always takes you to the top of the page as though the link is helpdest/helpdesk.htm without the #xxx on the end.

The only time I can get IE3 to perform correctly is when I have the link in one frame and the anchor in another.

Any ideas how I can resolve this problem?
0
Comment
Question by:m204984
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Accepted Solution

by:
ttrogden earned 50 total points
ID: 1845691
I've had this problem before - it's a bug in IE 3 i've talked with others and they say the same thing -
0
 
LVL 2

Expert Comment

by:vendrig
ID: 1845692
True. Only specific versions though.
0
 

Author Comment

by:m204984
ID: 1845693
Well, it doesn't resolve my problem but at least I'll quit spending all my time trying to resolve it.

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question