deansaddigh Posted March 1, 2010 Share Posted March 1, 2010 Heres the function $(function() { $("#mostrar").click(function(event) { event.preventDefault(); $("#caja").slideToggle(); }); $("#caja a").click(function(event) { event.preventDefault(); $("#caja").slideUp(); }); }); Does anyone know how to make it start closed Link to comment https://forums.phpfreaks.com/topic/193779-my-expanding-box-starts-open-i-want-it-to-start-closed/ Share on other sites More sharing options...
deansaddigh Posted March 1, 2010 Author Share Posted March 1, 2010 Sorry it actually does start closed i was missing a bit of css styling. Link to comment https://forums.phpfreaks.com/topic/193779-my-expanding-box-starts-open-i-want-it-to-start-closed/#findComment-1019912 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.