<a href="javascript:location.href='mailto:[email protected]?body='+document.location.href"><IMG SRC='images/DOG0_04_07.gif' WIDTH='215' HEIGHT='27' border='0'></a>

解决方案 »

  1.   

    <script language=javascript defer>
    mailto.href = "mailto:[email protected]?body=" + document.location.href;
    mailto.innerText = "[email protected]";
    </script>
    <a id=mailto href="#">[email protected]</a>
      

  2.   

    <a href="javascript:window.open('mailto:[email protected]?body='+document.location.href);"><IMG SRC='images/DOG0_04_07.gif' WIDTH='215' HEIGHT='27' border='0'></a>
      

  3.   

    <script language=javascript>
    function attachEmail(){
    mailto.href = "mailto:[email protected]?body=" + document.location.href;
    }
    window.attachEvent("onload",attachEmail);
    </script>
    <a id=mailto href="#"><img src="http://expert.csdn.net/images/csdn.gif" border=0></a>
      

  4.   

    http://expert.csdn.net/Expert/topic/2549/2549849.xml?temp=.4564173