Created
February 1, 2013 14:16
-
-
Save codepunkt/4691549 to your computer and use it in GitHub Desktop.
Russian Roulette in SVG
This file contains hidden or 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
<body> | |
<svg xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<a> | |
<text y="1em">Click me</text> | |
<animate attributeName="xlink:href" values="#;#;#;#;#;javascript:alert('Bang!')" begin="0s" dur="0.1s" fill="freeze" repeatCount="indefinite"/> | |
</a> | |
</svg> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment