[pmwiki-users] Modify attachlist links?
5ko at 5ko.fr
Sat Oct 12 18:19:16 CDT 2013
> > 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):
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
links in new windows:
I don't think you can request opening of new tabs OR windows though.
More information about the pmwiki-users