Difference between revisions of "Team:Pasteur Paris"
Line 4: | Line 4: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
− | + | $('#itemDesc').hover(function(){ | |
− | + | alert('hover'); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
$(this).children('.front').stop().animate({'top' : '150px','left' : '-300px'}, 500); | $(this).children('.front').stop().animate({'top' : '150px','left' : '-300px'}, 500); | ||
}, function(){$(this).children('.front').stop().animate({'top' : '0px', 'left' : '0px'}, 500);}); | }, function(){$(this).children('.front').stop().animate({'top' : '0px', 'left' : '0px'}, 500);}); |
Revision as of 15:10, 29 July 2015
Item 1
Item 2