Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community and Support Forums
Support Forums
Customer Login
Customer Login

  New Posts New Posts RSS Feed - Insert hyperlink - new window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Windows Web Hosting 30 Day Free Trial

Windows Web Hosting 30 Day Free Trial

Windows Hosting 30 Day Free Trial, with no obligation, on all our Windows Web and Reseller Hosting Packages.

For moreĀ informationĀ see our Windows Hosting 30 Day Free Trial page.

Insert hyperlink - new window

 Post Reply Post Reply Page  123>
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
timjanssen View Drop Down
Newbie
Newbie


Joined: 14 June 2009
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote timjanssen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
timjanssen View Drop Down
Newbie
Newbie


Joined: 14 June 2009
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote timjanssen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
timjanssen View Drop Down
Newbie
Newbie


Joined: 14 June 2009
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote timjanssen Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
timjanssen View Drop Down
Newbie
Newbie


Joined: 14 June 2009
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote timjanssen Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Poole, England
Status: Offline
Points: 7797
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



Become a Fan on Facebook Follow us on Twitter Find us on Google+ Community Forums Web Wiz Blogs Web Wiz News
Company Information | Contact Web Wiz | Terms & Conditions | Privacy Policy

Prices exclude VAT unless otherwise stated - $, € prices shown as a guideline only
Web Wiz Ltd, Unit 10E Dawkins Road Ind. Est, Poole, Dorset, UK, BH15 4JD
Copyright ©2001-2012 Web Wiz - All rights reserved