Loading...
 
Features / Usability

Features / Usability


Aw: link open in new window

Hi,

for ex in a menu:

write

http://foo.bar" target="_blank
or
http://www.foo.bar" target="_blank


-> Domainname+doublequotes+space+target+equal+doublequote+underscore+blank

That will open Links in new tabs or new windows, depending on the settings of the users browser.

Cheers,
Torsten

United States

Did you enable the Allow HTML... option? Please see the docs for details.

Note that this is a potential security issue, so you may want to use the JQuery method instead. Again. pleasesee the docs for details.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.

Indonesia

Thanks Rick:

Yes, Allow HTML is allowed as per screenshot Capture1

Once allowed I'm not getting the invalid variable error but it redirects the browser to www.mydomain.com/index.php"%20target="_blank which is wrong.

I think the issue is I'm not sure if I'm writing the " target="_blank at the right place.

Should it go on the URL field? I tried both with " and without it. Or should I place it somewhere else.

I already checked the JQuery option, but having t hardcoded will not be easily maintenable for a new site (things will change, options added and deleted, so I should be playing around with the code). Probably once the site is stable.

Thanks,
Ricard


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.