开发者

how to make the panel open when the page is loaded

开发者 https://www.devze.com 2023-03-21 02:56 出处:网络
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 sim

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消