Ages ago I learned how to use javascript and never had any problems with it but I'm trying to make a clickable image right now and...I seem to have forgotten it all.
What I've done looks like this:
<html>
<img src="australia.png" usemap="#isles"/>
<map name="isles" id="isles">
<area shape="rect"
coords="13,53,73,165"
href="java script:clicked_on('MAD!');"
title="Test" alt="Tested"/>
</html>
The shape is in the right place alright and is clickable but when I do nothing happens....
Is there some sort of activating javascript at the start you're meant to do? - The trouble I see here is I've got my script command nested in the middle of a bunch of otherwise normal html and I don't want this html taken to be bad javascript code.
Can anyone point out the probally very obvious thing wrong?