Print Page | Close Window

Anchor href tag

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15314
Printed Date: 29 March 2026 at 12:41pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Anchor href tag
Posted By: mik_
Subject: Anchor href tag
Date Posted: 31 May 2005 at 8:19pm

I HTML view I want to use a link to a place elsewhere in the text, like:

<A href="#test">test</A>

but RTE will transform this into :
 
<A href="http://www.richtexteditor.org/demo/?QS1=demo#test">test</A>
 
This does not link to the right place in the text.
 
Is there way around this problem ?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 June 2005 at 5:43am
The RTE uses the editors that are already built into the verious browsers.

IE's built in editor creats shocking HTML and also for some reason likes to re-write the HTML, including the links.

Try using Firefox, it's built in HTML editor is much better.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: mik_
Date Posted: 01 June 2005 at 11:11am
Using the RTE on a website with many different users it will be hard to pursuade and propel everyone to use Firefox.
 
I had hoped there was another way to achieve the 'Anchor HREF' without IE replacing the URL.


Posted By: mik_
Date Posted: 02 June 2005 at 2:23am

Solution for those few people who must use IE (no replacement of URL). Also works with FF:

<a onclick="location.href='#test'">test</a>
 
Wink


Posted By: bigolslabomeat
Date Posted: 02 June 2005 at 1:16pm
I am having similar problems with both IE and FF, however when placing the actual anchor in both duplicate the anchors all through the text!
 
i.e.
"><A name=internet_trading></A></FONT></DIV>
<H1 align=justify><FONT face="Arial, Helvetica, sans-serif"><A name=internet_trading></A></FONT></H1>
<DIV align=justify></DIV>
<H1 align=justify><FONT face="Arial, Helvetica, sans-serif"><A name=internet_trading></A></FONT></H1>
<DIV align=justify></DIV>
<H1 align=justify><FONT face="Arial, Helvetica, sans-serif"><BR><A name=internet_trading>Internet Trading<SPAN class=EmailStyle15><SPAN style="FONT-SIZE: 10pt; COLOR: black"> </SPAN></SPAN></A></FONT></H1>
<DIV align=justify></DIV>
<P><FONT face="Arial, Helvetica, sans-serif" size=2><A name=internet_trading></A></
 
and this carries on throughout the document until the next A tag where it then duplicates that one.  Anyone else had this? it happens in both FF and IE and we've tried taking the anchors out in a text editor and pasting the html back in but as soon as it is saved (or maybe when it is opened again) it reverts to the duplicates.
 
It's a shame cos i really love this editor and all it's extra functionality it's just this (and a couple of other) tiny niggle that means we may not be able to use it.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net