how to make the panel open when the page is loaded
as you can see HERE, when the page is loaded the panel still hidden. I want to make one of the panel already opened when user loaded the page. can anyone help m开发者_如何转开发e please?
Maybe just simulate a click on the panel you want to open on page load:
$("#dock li").eq(0).click(); // click first panel
Your updated fiddle.
精彩评论