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 Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.