Programming


SUBMITTED BY: Guest

DATE: Aug. 28, 2013, 10:41 a.m.

FORMAT: Java

SIZE: 1.1 kB

HITS: 22940

  1. $("a.tip, div.thumbh").mouseenter(function() {
  2. $(this).find('img').stop().animate({width:"162px", height:"162px", left:"-20px", top:"-20px"},100)
  3. }).mouseleave(function() {
  4. $(this).find('img').stop().animate({width:"122px", height:"122px", left:"0px", top:"0px"},100);
  5. });
  6. if ($(this).hasClass('tip')) {
  7. // do your animation
  8. }
  9. $("a.tip, div.thumbh").mouseenter(function() {
  10. $("a.tip img").stop().animate({width:"162px", height:"162px", left:"-20px", top:"-20px"},100)
  11. }).mouseleave(function() {
  12. $("a.tip img").stop().animate({width:"122px", height:"122px", left:"0px", top:"0px"},100);
  13. });
  14. $("a.tip, div.thumbh").mouseenter(function() {
  15. $("a.tip img").stop()
  16. .animate({width:"162px", height:"162px", left:"-20px", top:"-20px"},100)
  17. }).mouseleave(function() {
  18. $("a.tip img").stop()
  19. .animate({width:"122px", height:"122px", left:"0px", top:"0px"},100);
  20. });

comments powered by Disqus