JavaScript
Open a hyperlink ‘on mouse over’
Open a hyperlink ‘on mouse over’!
With great power comes great responsibility. If you must have a hyperlink open ‘on mouse over’, add the onmouseover
HTML attribute along with the window.open
JavaScript method. Code sample and demo after the jump.
Code Sample
<a href="/go/link.php?id=14" onmouseover="window.open(this.href, 'child')">This hyperlink opens on mouse over</a>
Live Demo
Click here ‐> This hyperlink opens on mouse over