| Author |
Topic Search Topic Options
|
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Topic: Insert hyperlink - new window Posted: 14 June 2009 at 6:30pm |
|
Hi I'm having issues with the RTE v4.02.
The problem is when inserting a hyperlink, and setting the window type to new window the hyperlink doens't seem to open in a new window. The code of the link isn't made with a target=_blank statement.
Is this a known problem? Maybe someone has encountered this before?
Kind Regards
Tim - Netherlands
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 10:14am |
|
This should not be the case, so I just tested the RTE in both IE and Firefox creating a link and selecting 'New Window' from the drop down.
In both cases the target="_blank" was added to the link.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 1:38pm |
Bruce, thnx for your reply.
I'm not making this up ;-)
Is there a function that looks at internal/external urls or something?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 2:09pm |
|
The Web Wiz RTE is built to be added to your own application that would handle the submission, so I wouldn't know if your application has been written to stip URL's of their target attribute.
However, I can tell you that the Web Wiz RTE will not automatically add a target attribute, in the hyperlink window you need to select the target attribute from the drop down.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 2:17pm |
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 2:32pm |
|
Very sorry but can not replicate any issue like this at all.
What browser are you using and what version of that browser?
Also the links you have seem to have one of them has the target attribute within it. Web Wiz RTE doesn't have any code to strip this attribute, it simply allows you to add it and does not have any coding to decide if the link is internal or external.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 15 June 2009 at 6:01pm |
|
Hi Bruce,
What i have found out is the following.
It looks like when inserting a link with a variable in the url like this:
http://www.interfisc.eu/default.asp?lid=1&taal=nl&id=326
the script removes the _blank instruction or doesn't copy it into the rte.
You can test it with your own demo, it doesn't work with the link above.
But when you enter f.e.
http://www.interfisc.eu/default.asp?
It's working...
Can you help me with figuring this out?
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 June 2009 at 9:44am |
|
It looks like the ampersand in your URL is coursing this to fail.
Have been looking into this and trying different things now for about 4 hours but can not find a way to fix this, so unfortunately there will be no easy fix and it will have to be put on the 'todo' list to look at when there is more time.
|
|
|
 |