Javascript target anchors to apply a css element in IE8
Posted: Tue Sep 22, 2009 9:53 pm
I found some code that I like on suckerfish:target (link to the article: http://htmldog.com/articles/suckerfish/target/). It uses css3 element :target (for the browsers that take css3) and the javascript for IE6/7 but in IE8 this will not work. Here is a link to a page running this script (link: http://htmldog.com/articles/suckerfish/target/example/). If you load that link in any browser except IE8, you will see it works, but not in IE8. Can comeone take a look at this and help me out? Im kinda new to javascript.
--Bryan
--Bryan