简体   繁体   中英

open a html page in full screen with onload event

I need to open my html page full screen with onload event. I tried with many codes available on the internet but they are not working. they works well with onclick event buy not with onload event. please help me someone with working code.

$( document ).ready(function() {
     setTimeout(function(){ 
        // your code here for open HTML here 
     }, 2000);
});

Hope this will solve your issue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM