Solved

Problem with anchors in IE3.02

Posted on 1999-01-26
3
212 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML and CSS for a complex page 20 57
Apostophes in PHP generated form 6 39
Bootstrap more than 12 columns in row 3 36
Issue in webpage 6 34
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now