Sticky Layer onclick link can't specify target

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
developer
 
 
Posts: 49
Joined: Thu Jul 11, 2013 10:39 am

Sticky Layer onclick link can't specify target

Post by developer »

I have a sticky layer that floats alongside a page. When the user clicks it, an onclick event fires which uses the link option and opens an order form, but not in a new window because I can't select a target.

In the link specification as soon as I specify the file to open, the target selector highlights with a drop-down, but the selector does not activate, so I can't select a target.

I've tried to workaround by editing the html, but the target specifier is outside the return and there is no way to get it in the proper poistion in the script flow.

So to recreate, make a sticky layer and specify an onclick event with a link to a file.

Thanks in advance for your help!
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Sticky Layer onclick link can't specify target

Post by Pablo »

A link triggered via event cannot have a target window, because events use JavaScript instead of an HTML anchor.

Also note that the 'target' property in the event window is for specifying the target object for events. It is not relevant for links, so that is why it is disabled.
Post Reply