StefCT writes:
> Actually, such a variable exists for Attach: links but is not used in
> the (:attachlist:) links, it is $IMapLinkFmt['Attach:']. In the next
> version it will be enabled.

Is it possible to make a hyperlink open in a new tab? AFAIK there is
only the tag target="_blank" which opens links in a new window OR a new
tab, depending on the user's browser settings.

No, there is no way to be absolutely sure that a new tab or window will be opened (or not) in all browsers. And this is a good thing: I wouldn't want a website to force me to open a new tab, even worse, new window, if I didn't ask for it -- and I know how to click on my right or middle mouse buttons if I want this.

An expert in web usability wrote that opening new browser windows is one of the worst web design mistakes (#9):

 http://www.useit.com/articles/top-10-mistakes-web-design/

When the standard XHTML-Strict was official and some webmasters tried to comply to it, they noticed that the attribute target="_blank" was invalid in that standard. So, they found ways to use JavaScript in order to open some links in new windows:

 https://www.google.com/search?q=target+_blank+strict+javascript

I don't think you can request opening of new tabs OR windows though.

Petko


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to