Handle the click event, and change the src attribute. Something like this:
...
<script type="text/javascript">
$(function() {
  $("#mp3Img").click(function() {
    $(this).attr("src", "mp3-2.jpg")
  });
});
</script>
</head>
<body>
<img id="mp3Img" src="mp3-1.jpg">
...

- Richard

On 7/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Heya,
>      I'd like to use jQuery to swap out an image of a mp3 player when
> the user clicks the image... any ideas?
>
>
> >
>

Reply via email to