ChompGator Posted March 24, 2008 Share Posted March 24, 2008 I have an image, and I want to have the image - so that when someone clicks the image a pop-up window appears. I know how to make it so that when someone clicks a link that is text a pop-up window appears, but I dont know how to have an image instead of text and have it clickable so that a pop up window appears, here is my code below - any tips would be great! Thanks, <a href="http://webaddress.com" onclick="window.open('http://webaddress.com','popup','width=1000,height=1200,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">General Information</a> Thanks! Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 24, 2008 Share Posted March 24, 2008 <img src="path/to/image.jpg" onclick="window.open('http://webaddress.com','popup','width=1000,height=1200,scrollbars=no,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); " /> Quote Link to comment Share on other sites More sharing options...
ChompGator Posted March 24, 2008 Author Share Posted March 24, 2008 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.