|
E-mail Hider
XML Menu Suite
Build powerful, client-side DHTML menus using XML for data and CSS for style. No JavaScript data! No having to place list elements on every single page of your website! No plug-ins!
E-mail Hider is a JavaScript script that enables you to dynamically write an e-mail address to a web page using JavaScript. This allows you to hide e-mail addresses from spam-bots. E-mail Hider is compatible with all browsers. Demo The demo displays two e-mail address links that are created by E-mail Hider. The demo is included in the download. Download E-mail Hider E-mail Hider is an external script. An example of calling the script is included in the download. Download email_hider.zip Method: function email(name, domain, suffix, text) Example Usage: <script type="text/javascript">email("webmaster", "example", "com")</script> The call above creates the following e-mail link: <script type="text/javascript">email("bill", "example", "org", "Email Me")</script> The call above creates the following e-mail link: Parameters name:
The username portion of an e-mail address. The part
that comes before the @ character.
domain:
The domain portion of an e-mail address. This comes
after the @ character and before a period.
suffix:
The end portion of an e-mail address. This comes
after the last period.
text:
This is an optional parameter. It determines the
text of the e-mail link. If this parameter is not specified, the
e-mail link is the e-mail address itself. Otherwise the text displayed
for the e-mail link is the value of this parameter.
Support If you have any questions, find any bugs, or have suggestions, feel free to contact us. |