Solved

Problem with anchors in IE3.02

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

791 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