recentpopularlog in

laurakalbag : menu   15

Toggle Tutorial - jQuery CSS Toggle Effect - javascript toggle tutorial - simple Toggle Effect | jQuery Tutorials | Web Design Tutorials and Front-end Development Blog by Soh Tanaka
$(document).ready(function(){

//Hide (Collapse) the toggle containers on load
$(".toggle_container").hide();

//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
$("h2.trigger").click(function(){
$(this).toggleClass("active").next().slideToggle("slow");
return false; //Prevent the browser jump to the link anchor
});

});
jquery  slider  toggle  menu  navigation  accordion 
january 2011 by laurakalbag

Copy this bookmark:





to read