View Single Post
Old 03-04-2013, 08:44 PM   PM User | #6
instaunt
Regular Coder

 
Join Date: Apr 2010
Posts: 101
Thanks: 4
Thanked 0 Times in 0 Posts
instaunt is an unknown quantity at this point
Quote:
Originally Posted by DanInMa View Post
you could maybe try $(this).find('a').click()
Thank you, but no that didn't work. I assume you mean this:

Code:
<div id="myselector"><a href="/joke.php"><img src="/images/joke.gif" border="0" /></a></div>
<script>
$( document ).ready(function() {
$(myselector).mouseover(function() { $(this).find('a').click() });
});
</script>
__________________
I've been making animations for my daughter. Tell me what you think!

Pickles and the Bully
Where are you Pickles!?!
instaunt is offline   Reply With Quote