I'm new to jquery so I hope you'll forgive my ignorance...

I have a div on a page that I'm hoping can contain multiple images  
that would fade in and replace an out-going image based on an onClick  
event.

Each image is dedicated to it's a href (there are about 30) and they  
would all be initially hidden...

I've given the images id's:
Code:
<div id="creditTray" class="fadeThis3">
<img id="zs1" class="movtitle" src="directors/dir_resources/zs/ 
zs_t1.png" />
<img id="zs2" class="movtitle" src="directors/dir_resources/zs/ 
zs_t2.png" />
</div>
the a href's have a class name:
Code:
<a class="title" href="javascript:document.movie.SetURL('mov1.mov');"  
onclick="$('#mediaPlayer').fadeIn(1500);">
And, because I want to display a title for each one...

I've been working with:
Code:
$(document).ready(function() {
    $(".title a").click(function() {
     // do something...
    });
  });
but I can't seem to get anything to work... any help would be much  
appreciated!




Reply via email to