Trying to do one thing on the site. Flexslider slider connected, initialized as follows:
$(window).load(function(){ $('.textslider').flexslider({ animation: "fade", slideshow: false }); }); I would like to see .flex-direction-nav a page scroll up when clicking on the slider navigation .flex-direction-nav a element. I use such jquery:
$(".flex-direction-nav a").click(function() { $("html, body").animate({ scrollTop: 0 }, "slow"); return false; }); Che does not work like that. Maybe you need to put one script in another, or something else. scrollTop has already used a lot of scrollTop , but it's still there. Help who than can