Web design and using photoshop 2

.....I'm guessing you mean a single image as an element of a page rather than a whole image as a page...?
 
charles said:
.....I'm guessing you mean a single image as an element of a page rather than a whole image as a page...?

Hi, yes just a single image as an element of a page which I'd to make clickable (like a link) For example eBid has made their logo (http://www.ebid.net/icons/logo1_uk.gif) and they have also managed to make it clickable, how do I do the same..? thanks
 
If it's a logo then you need:

HTML:
<a href="/" title="Return to sitename home page"><img src="/images/logo.gif" alt="sitename logo" /></a>

replacing sitename with, well, the site's name and updating the relevant src URI.
 
Fairly ambiguous question so I'll provide an over-engineered (untested) solution:
HTML:
<img src="/images/logo.gif" id="logo" alt="logo" />

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript">
$('document').ready(function()
{
	$('#logo').click(function(){ document.location.href = "/"; });
});
</script>
but that's a bit ridiculous :D
 
Back
Top