WordPress.org

Ready to get started?Download WordPress

Forums

javascript - onmouseover not working right (3 posts)

  1. tap8
    Member
    Posted 9 years ago #

    I am trying to do some email link cl0aking. This javascript (close to it anyway) works on normal html pages:
    <img src="http://www.palmerpatent.com/images/emad.jpg"/>
    <script type=text/javascript>function basbedg(sDom, sUser){return("mail"+"to:"+sUser+"@"+sDom.replace(/%23/g,"."));}</script>

    It doesn't seem to be working. Right now, clicking on the image only sends me to the link - where as it should be launching my email app.
    The cloaking script is from:http://reliableanswers.com/js/mailme.asp
    Any ideas?

  2. Lorelle
    Member
    Posted 9 years ago #

    Your best bet is to ask the folks who wrote the javascript. I'm not sure you will get a good answer here since the javascript isn't related to WordPress. I hope someone jumps in, but I'd hit up the javascript authors.

  3. tap8
    Member
    Posted 9 years ago #

    I think someone here might have a better understanding of the problem. The javascript works on "normal" html pages with no problem. Only when I put it in a wordpress page do I have this issue.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.