Sign in to follow this  

[web] Overriding onMouseClick on link

Recommended Posts

Hi, this may sound silly but I was wondering if you ever had this problem before.. I want to create a link from text, which is supposed to be deadlink but by using javascript i can open a new window (with all those toolbars dead) so, this is my code :
</a href="#" onMouseClick=" 'new.html','newwin')">Click this<//a>
ps : the extra slashes on the a tag is not a mistake. I add it because otherwise you won't be able to see my code :). I hope u get the idea If I'm not mistaken, I've been done this before. but now it won't work and I can't find out why. Can somebody know ?? I need to use a href because it must be text and it automatically change the cursor into hand

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this