Solved

IE8 Anchor Link not working

Posted on 2012-04-09
4
658 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

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

Title # Comments Views Activity
Rotate images for Web Page 11 24
What cart is this? 2 31
Hit counters in SharePoint 2013 2 21
Check input text, Number 6 26
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article discusses four methods for overlaying images in a container on a web page
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…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

680 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