Question

If you go to their website here: www.modxcms.com, you will see the WHAT, WHY, HOW slideshow. Can anybody tell me what they are using to do that?

Was it helpful?

Solution

Seems like jQuery LocalScroll. From their pushup.js (indented for clarity):

$('#whatwhyhow-questions').localScroll({
  target:'#whatwhyhow-answers'
});

$("#whatwhyhow-questions a").click(function(event){
  event.preventDefault();
  $('#whatwhyhow-arrow').animate({top:$(this).attr("rel")});
});

OTHER TIPS

They are using a customized js file named pushup.js built on top of jQuery and there you can find the

animate function being used.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top