Announcement

Collapse
No announcement yet.

Problems with mail links encoding Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problems with mail links encoding Script

    Hi!

    I'm having problems with my script i want to use to encode my e-mail links and protect them from spam

    I paste the script below between the body tags but never see the link text in the view mode (i'm using Dreamweaver)

    <script LANGUAGE="JavaScript"><!-- BEGIN Script
    var cry1=String.fromCharCode(109,97,105,108,116,111,5;document.write("<a href=\"");document.write(cry1);document.write("inf o");document.write(String.fromCharCode(47+17));
    document.write("yourtradeagent.com");
    document.write("?subject=Feedback for Dmitry Makarov Partnership&cc=123&bcc=123\" onMouseOver=\"self.status='';return true\" onMouseOut=\"self.status='';return true\" onMouseDown=\"self.status='';return true\" >");
    document.write("info");document.write(String.fromC harCode(47+17));
    document.write("yourtradeagent.com");
    document.write("</a>");
    //END --></script>

    What am i doing wrong?

    Thank you
Working...
X