abkdefz
MIS
- Mar 8, 2009
- 2
Can anyone tell me, where I am going wrong with this Javascript. It is a 'refer a friend-script'. I want the link text to appear in Trebuche MS, size 12, normal. Also the link (both active, hover and used link) should appear white. How can it be done?
Best regards
Tonny Surrow
<STYLE TYPE="text/css">
<!--
p {font: italic bold 14pt "Trebuche MS";}
a{text-decoration:none}
A:link {color: white}
A:hover { color:white }
//-->
</style>
<script language="javascript" type="text/javascript">
function doMail()
{
var loc = location.href
window.location = "mailto:?body="+loc
}
</script>
<a href="mailto:you@yours.com" onclick="doMail();return false">
Tip en ven</a>
Best regards
Tonny Surrow
<STYLE TYPE="text/css">
<!--
p {font: italic bold 14pt "Trebuche MS";}
a{text-decoration:none}
A:link {color: white}
A:hover { color:white }
//-->
</style>
<script language="javascript" type="text/javascript">
function doMail()
{
var loc = location.href
window.location = "mailto:?body="+loc
}
</script>
<a href="mailto:you@yours.com" onclick="doMail();return false">
Tip en ven</a>