[thelist] IE variable passing + anchor problem

Bernardo Escalona-Espinosa escalonab at gmail.com
Wed Dec 7 12:28:03 CST 2005


Thank you for your test. Upon inspecting your html i thought the
problem might be that my anchor was inside a table, but no.

Turns out that "top" must be a reserved name of some kind, because I
simply changed the name of the anchor and now it works on my IE.

Please try it out:



> Bernardo Escalona-Espinosa wrote:
> > Suppose I want to send a variable through the url to the next page,
> > but also go to a specific section of that page. Then the link looks
> > like this:
> >
> > href="page.php?variable=123#section"
> >
> > It works wonderfully on firefox but not on IE. The variable is passed
> > fine, but the anchor is not.
> > http://bernsonline.com/img_photos/2005_11_hamburg/slideshow.php?img=1#top
> Your page does indeed show a problem with IE not going where the anchor
> points to. Most likely a bug in IE indeed, but also most likely completely
> unrelated to sending variables through the GET method.
> I have several web-apps in daily use that use the method you describe
> (sending both a variable or several through GET and using an anchor with #)
> that work perfectly well in IE.
> I think there is something else on the page the makes IE go wacky.
> A simple test to show that it indeed works in IE:
> http://www.ilmiantajat.net/testing/zuni/anchor/index.php?variable=blahblah#anchor_1
> http://www.ilmiantajat.net/testing/zuni/anchor/index.php?variable=blahblah#anchor_2
> http://www.ilmiantajat.net/testing/zuni/anchor/index.php?variable=blahblah#anchor_3
> --
> Suni

Bernardo Escalona Espinosa
  handy: 0176 / 24 82 36 34

More information about the thelist mailing list