Created
June 17, 2009 21:13
-
-
Save mraichelson/131514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
function doSomething(url){ | |
window.open(url,"width=300,height=300"); | |
return false; | |
} | |
</script> | |
... | |
<a href="foo.html" onclick="do_something(this.href);">go somewhere</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment