I would like links to be trigger on double click. Something simple like this:
<sj:a href="%{link}" targets="target" ondblclick="javascript: return true;" onclick="javascript: return false;">Bližnjica</sj:a>
does not work (I guess because this is not a submit).
Maybe some JS can do that?
In jQuery it’s easier with an ID, but you can bind to any
<a>as well:However, if you want a double click, I’d suggest using an element other than
<a>for this, like a<span>or<div>Then it’s much simpler like this:
And the markup side: