Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email protected from Spambots variation ??

Status
Not open for further replies.

mxw

Programmer
Jul 24, 2001
79
CA
Here is the popular code.
[script language="JavaScript"]
[!--
var name = "protected";
var domain = "domain.com";
document.write('<a href=\"mailto:' + name + '@' + domain + '\"]');
document.write(name + '@' + domain + '</a>');
// --]
[/script]

Can one display a message in the status bar on mouseover?

Thank you!
mxw

~Eeegads~
 
Hi,

Try this:

Code:
<DIV onMouseOver="window.status='Thanks!';">Roll over me</DIV>


Jakob
 
... sorry, make it a SPAN in stead of a DIV ...


Jakob
 
It doesn't work like this ...
<SPAN onMouseOver="window.status='Thanks!';">
<script language=javascript>
<!--
var username = "&#109;&#095;&#120;&#095;&#119;";
var hostname = "&#104;&#111;&#116;&#109;&#097;&#105;&#108;.com";
var linktext = "Share your Abyssinian photo for a link exchange.";
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + " >" + linktext + "</a>")
//-->
</script>Thanks!</span>

~Eeegads~
 
It doesn't work like this ...
<SPAN onMouseOver="window.status='Thanks!';">
<script language=javascript>
<!--
var username = "protected";
var hostname = "domain.com";
var linktext = "Email me!";
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + " >" + linktext + "</a>")
//-->
</script>Email Me!</span>

~Eeegads~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top