htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
#anchor problems


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


mmjaeger
Novice

Feb 24, 2003, 12:00 AM

Post #1 of 8 (3576 views)
Shortcut
#anchor problems Can't Post

Hello,

anchor links, like "#top" get automatically changed to "path to editor#top". Is there a workaround, so the links will be kept as is?

Thank you


redspider
User

Feb 24, 2003, 2:44 AM

Post #2 of 8 (3570 views)
Shortcut
Re: [mmjaeger] #anchor problems [In reply to] Can't Post

I know there is a path problem with the anchor tool.

But's if you ask me it's a behavior problem with IE. When you include an hyperlink like "test.html" into HtmlArea IE converts it into http://your.server.com/test.html. I have that problem also ;-(

I have made a replace workaround in ASP like this:


text = replace(text, (http://your.server.com), "")


for my problem it helps, i hope it can helpfull for you.
greetz

Redspider
Belgium
http://www.tielt.be


mmjaeger
Novice

Feb 24, 2003, 2:51 AM

Post #3 of 8 (3569 views)
Shortcut
Re: [redspider] #anchor problems [In reply to] Can't Post

Thank you for your post

Where do you put text = replace(text, (http://your.server.com), "") ? Do I have to put it into the editor.js file?



Thank you


redspider
User

Feb 24, 2003, 3:05 AM

Post #4 of 8 (3567 views)
Shortcut
Re: [mmjaeger] #anchor problems [In reply to] Can't Post

I have put the replace function in the ASP-page for saving my content to a database.

so, don't put it in the JS but in your ASP page
greetz

Redspider
Belgium
http://www.tielt.be


mmjaeger
Novice

Feb 24, 2003, 12:20 PM

Post #5 of 8 (3545 views)
Shortcut
Re: [redspider] #anchor problems [In reply to] Can't Post

I'm using PHP, so this won't work unfortunately.

I hope there will be other solutions.

thanks anyway.


AtK
User

Feb 24, 2003, 12:40 PM

Post #6 of 8 (3544 views)
Shortcut
Re: [mmjaeger] #anchor problems [In reply to] Can't Post

ereg_replace() ;-)

greetz
AtK


(This post was edited by AtK on Feb 24, 2003, 12:41 PM)


mmjaeger
Novice

Feb 24, 2003, 12:44 PM

Post #7 of 8 (3540 views)
Shortcut
Re: [AtK] #anchor problems [In reply to] Can't Post

thank you for your post. however, you have to consider that I'm a total dummie as to php and/or javascript. I have no idea what you're telling me.

thank you


AtK
User

Feb 24, 2003, 5:39 PM

Post #8 of 8 (3532 views)
Shortcut
Re: [mmjaeger] #anchor problems [In reply to] Can't Post

$string = ereg_replace("","oe",$string);

now? :)

Sorry, but im tired :)

greetz
AtK

 
 
 


Search for (options)