Web Wiz - Green Windows Web Hosting

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

Forum LockedInsert hyperlink - new window

 Post Reply Post Reply Page  123>
Author
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 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
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: 15 June 2009 at 1:38pm
Bruce, thnx for your reply.
 
When I insert an 'internal' link f.e. my site is: www.mysite.nl and I insert a link to www.mysite.nl/contact.htm the system doesnt insert the link with a new window.
 
I'm not making this up ;-)
 
Is there a function that looks at internal/external urls or something?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
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: 15 June 2009 at 2:17pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
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: 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?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

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

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.