| Author |
Topic Search Topic Options
|
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
|
Post Options
Thanks(0)
Quote Reply
Topic: Insert hyperlink - new window Posted: 01 September 2009 at 4:24pm |
The solution to your issue is as follows. Open in a text editor the file RTE_popup_link.asp and change line 157 to that below:-
vbCrLf & " if (hyperlink[i].getAttribute('href').search('" & strHyperlinkType & Replace(strHyperlink, "?", "\\?", 1, -1, 1) & "') != -1){")
|
This should fix the problem with converting text to hyperlinks where
the hyperlink has a question mark and you are adding extra attributes
such as a target window.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 01 September 2009 at 3:35pm |
|
Bruce,
Haven't got a reply since my last post. Since we have payed for your software we expect a decent sollution.
Kind regards.
Tim
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 August 2009 at 10:11am |
|
Hi Bruce,
I understand what you mean. Is it an idea to add text input field into the 'insert hyperlink window'. So when you add a link, but don't select the caption text first, you can edit the caption of the link true this window.
Kind regards.
Tim
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
|
Post Options
Thanks(0)
Quote Reply
Posted: 25 August 2009 at 2:12pm |
|
Have been doing some further research into this issue as it is a very rare issue that only happens under certain circumstances.
It only happens if you highlight text to turn into a link and the link used contains a question mark and you also select to have extra attributes added such a new window target. Any other types of link created with it works fine, such as not highlighting text to turn into a hyperlink.
The problem occurs because when you highlight text to turn into a hyperlink the highlighted text first needs to be converted into a hyperlink and then only after can extra attributes such as window targets be added to the hyperlink using javascrpit to search for the link and add the extra attributes to it. The link then can not be found as the question mark breaks the javascript search from returning the hyperlink.
It was originally thought it was the ampersand coursing the issue in your link as this is converted from & to &, however javascript searches ignore this change by the browsers API. What does break it is a question mark which needs to be escaped in some way the same as in a regular expression search.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 25 August 2009 at 1:15pm |
Hi Bruce,
What do you mean with 'how the browser works'?
It doesn't work in multiple browsers so I presume that this has nothing to do with browser issues.
Kind regards.
Tim
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2009 at 11:07am |
|
This has not been looked at yet as it's more of an issue with how the browser works, so I would be doubtful if there is a way to ever fix this.
|
|
|
 |
timjanssen
Newbie
Joined: 14 June 2009
Status: Offline
Points: 23
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 August 2009 at 7:50am |
|
Approximately 6 weeks ago I've reported a bug. (as described above)
I'd like to know if this issue is been resolved (if not when this is taking place).
Thank you for your reply.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 June 2009 at 3:51pm |
|
There are no plans at present for the next update, but bug as usually fixed as them come in.
|
|
|
 |