简体   繁体   中英

Resize browser window with JS/Jquery on website access

I have my first website made some months ago, and it is not responsive. I have built it on 1280x1024px so on larger or smaller screens we can't see it resposnive. Now, on smaller screens it's ok, I'm not interesting in that, but I have a question: is it possible on larger screens, like 1680x1050px when I open this site to automatically resize the browser window to 1280x1024px with JS or Jquery ? Some code to bring the browser to 1280x1024px instead of full-screen of monitor resolution on larger screen ?

Thanks.

You could use the resizeTo function.

Here's a link to show how it works

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