• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Web design and using photoshop 2


Harry

Senior Member
#6
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.
 
#7
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