Solved

IE8 Anchor Link not working

Posted on 2012-04-09
4
657 Views
Last Modified: 2012-04-14
It is pretty simple, but it is driving me nutts.

I have this site:

http://mydomain.com/client/verde.php

Try it in Chrome, FF or even IE7
After the introductory animation, when you click the "3.1","3.2", etc it links to a specific position in a table, defined by an id.

However if you try it in IE8 it simply doesn't work. Is there any workaround you can think of?
0
Comment
Question by:robrodp
  • 2
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
asavah earned 500 total points
ID: 37826848
It's a known MSIE 8 bug :(
It won'be fixed in 8, as they alredy have release IE9 which has this fixed.
Workaround:

intead of <a name="s3.1"></a> try <a name="s3.1">&nbsp;</a>

IE8 seems to need something inside <a></a> for the anchors to work.
0
 

Author Comment

by:robrodp
ID: 37827891
I am now seeing some erratic behavior on FF as well. Has anybody tried it? How is it working? In firefox it is pointing to the right anchor then immediately returning to the top of the table. Any suggestions?

Asavah, I have tried your suggestion without any luck.
0
 
LVL 10

Expert Comment

by:asavah
ID: 37830427
Hmm I'm at home now , don't have a machine with ie8 here.
And about firefox , it's sad but i'm using FF 14.0a1 nigthly and I could reproduce the behaviour you're talking about, yes, it's pointing to the right anchor then immediately returning to the top, strange.
Tomorrow at work I will take a closer look at it.
0
 

Author Comment

by:robrodp
ID: 37832530
I'll be waiting for that. Thanks
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

790 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