Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个 mootool 灯箱,当我们点击时我的灯箱出现
<a id="HitIt">Click Here</a>
我希望我的灯箱在页面加载时打开....请帮助我...谢谢!
当您单击链接时,您在 JavaScript 中所做的任何事情都将其移动到 domReady 函数中。
window.addEvent ('domready', function(){ // add code });