lglapion Posted May 8, 2007 Share Posted May 8, 2007 Does anyone know format to use to link a button image to a URL? Thanks! Link to comment Share on other sites More sharing options...
lglapion Posted May 8, 2007 Author Share Posted May 8, 2007 Does anyone know format to use to link a button image to a URL? Thanks! more description of what i am trying to do: I am trying to use my "shopnow.gif" button on my home page to send customers to my osc shop url. i don't know how to type this out to make it work...help? i tried this and it blanked the bottom part of my screen: <?php echo'<a href="http://www.website.com">'.tep_image(DIR_WS_IMAGES.'shopnow.gif').'</a>';?> how far off am i :-" Link to comment Share on other sites More sharing options...
lglapion Posted May 9, 2007 Author Share Posted May 9, 2007 more description of what i am trying to do: I am trying to use my "shopnow.gif" button on my home page to send customers to my osc shop url. i don't know how to type this out to make it work...help? i tried this and it blanked the bottom part of my screen: <?php echo'<a href="http://www.website.com">'.tep_image(DIR_WS_IMAGES.'shopnow.gif').'</a>';?> how far off am i :-" Once again, figured it out on my own. In case this helps someone else get on the right track - you would need to know the path & source of your image and the width and height. But you would start with something like this: <a href="URL"><IMG src="file source of image/imagename.gif" WIDTH=135 HEIGHT=24 ALT=""></a> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.