Jump to content

Linking Images


ChompGator

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/97658-linking-images/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.