chadmichael Posted July 5, 2006 Share Posted July 5, 2006 I want to have an image based link / button. The link / button will fire a javascript function. I'm trying to discern if there is an obvious choice / preference between using a button element or an anchor element for this. Any suggestions or info regarding the implications of this decision? Link to comment Share on other sites More sharing options...
scott100 Posted July 6, 2006 Share Posted July 6, 2006 I want to have an image based link / button. The link / button will fire a javascript function. I'm trying to discern if there is an obvious choice / preference between using a button element or an anchor element for this. Any suggestions or info regarding the implications of this decision?<{POST_SNAPBACK}> Some older browsers only support onmouseover etc on the anchor tag, so if you wan't to reach max audience then that might be best bet.<a href="#" onMouseOver="go()"><img src="xxx.gif" /></a> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now