IE messing up #anchors
Stuart
08-09-11 18:31
I want to add simple anchor tags with names, is there a way to do this has someone already done this
John G
08-05-22 16:11
That fix wasn't very successful, I'm afraid!
This is in fact the same problem as IE turning relative links into full URLs. Can't seem to stop IE messing with the darn links after whizzywig has written them out. Drives me nuts.
I think you are using this in a CMS? In which case you'll have to clean it up with code on the server side. A regular expression should do the trick. Or in php:
str_replace("$urltoedit#","#",$href);IE messing up #anchors
tim mackey
08-05-22 10:01
hi,
i'm currently using v55i in my application and i've noticed that IE 6 and 7 do bad things with bookmark anchors, e.g. <a href="#Para1">Paragraph 1</a>
they add on the full absolute URL of the page, this is bad for me because the URL of editing the page is different to the page itself. IE changes the url to <a href="http://yoursite/page/Sys/Edit/#Para1">Paragraph 1</a>
i noticed in the change log that this problem was fixed in v54, maybe it has resurfaced? i tried the beta version v55n and i get the same problem.
any clues?
many thanks in advance
tim
i'm currently using v55i in my application and i've noticed that IE 6 and 7 do bad things with bookmark anchors, e.g. <a href="#Para1">Paragraph 1</a>
they add on the full absolute URL of the page, this is bad for me because the URL of editing the page is different to the page itself. IE changes the url to <a href="http://yoursite/page/Sys/Edit/#Para1">Paragraph 1</a>
i noticed in the change log that this problem was fixed in v54, maybe it has resurfaced? i tried the beta version v55n and i get the same problem.
any clues?
many thanks in advance
tim