Created
February 9, 2012 00:26
-
-
Save moskowite/1775804 to your computer and use it in GitHub Desktop.
huh?
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
<script language="JavaScript" type="text/javascript"> | |
<!-- | |
var name = "binka"; | |
var domain = "oreilly.com"; | |
var display = ""; | |
var subject = ""; | |
var ending = ""; | |
var style = ""; | |
document.write('<a class="' + style + '" href="mailto:' + name + '@' + domain + '?subject=' + subject + '">'); | |
if (display) { | |
document.write(display); | |
} else { | |
document.write(name + '@' + domain); | |
} | |
document.write('</a>' + ending); | |
// --> | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment