< script type = "text/javascript" > $('.galeri-resimleri img').on({ 'click': function () { $('#galeri-ortaresim').attr('src', $(this).data("fi")); } }); $('.solmenubg').mouseenter(function () { $(this).stop().animate({"width": "150%"}, "slow"); $(this).css("background", "url('/wp-content/themes/cottonworkstheme/assets/img/menuzemin2.png') right no-repeat"); }); $('.solmenubg').mouseleave(function () { $(this).stop().animate({"width": "100%"}, 100); $(this).removeAttr('style'); }); $('.sagmenubg').mouseenter(function () { $(this).stop().animate({"width": "150%"}, "slow"); $(this).css("background", "url('/wp-content/themes/cottonworkstheme/assets/img/menuzemin1.png') left no-repeat"); }); $('.sagmenubg').mouseleave(function () { $(this).stop().animate({"width": "100%"}, 100); $(this).removeAttr('style'); }); /**/