Re: Using onclick link attribute to get popup window

Posted by mojavelinux on
URL: https://discuss.asciidoctor.org/Using-onclick-link-attribute-to-get-popup-window-tp2964p3070.html


On Tue, Apr 7, 2015 at 2:05 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
link:url[url, onclick="function();"]

with no luck.

These attributes are not passed through, mostly due to security.

link:{srcbase}/{srcdir}/Hello.java[Hello.java, role="red", window="_new"]  
 
is now opened in a new window(!) not tab and following clicks are going into the very same window. 


Cool trick!

Cheers,