简体   繁体   English

如何让浏览器 window 更纤薄?

[英]How can I make the browser window slimmer?

The default browser window has a limited minimum width.默认浏览器 window 具有有限的最小宽度。 I like to work with a slim browser on the right and a wide editor on the left.我喜欢使用右侧的超薄浏览器和左侧的宽编辑器。

How can I make the browser's window slimmer?如何让浏览器的 window 更纤薄? How can I resize the browser window?如何调整浏览器 window 的大小?

This can be achieved with JavaScript:这可以通过 JavaScript 来实现:

//path should be with "http://" unless it is local or something
newwindow=window.open(<path>, 'name', 'height=650, width=320, top=0, left=1200');

The code will open a new window that is more resizeable.该代码将打开一个可调整大小的新 window。 The window has lower minimum width, and another plus: has smaller top bar overall. window 的最小宽度更小,另一个优点是:整体顶部条更小。

Open the project with this kind of window from JavaScript in another webpage.在另一个网页中使用 JavaScript 中的这种 window 打开项目。

Here is a GitHub project for just opening this resizable browser window.是一个 GitHub 项目,用于打开这个可调整大小的浏览器 window。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用浏览器窗口调整网页大小 - How can I make my web page resizes with the browser window 如何使我的工具提示不隐藏在浏览器窗口中 - How can I make my tooltip not to hide in browser window 如何让html的内容占据整个浏览器window? - How can I make the html content to occupy the entire browser window? 如何创建一个菜单,使浏览器窗口滑动到div? - How can I make a menu that makes the browser window slide to a div? 如何在浏览器窗口中移动鼠标? - How can I move mouse in browser window? 如何指定浏览器窗口的不透明度? - How can I specify the opacity of the browser window? 无论浏览器窗口大小如何,如何使图像始终在另一个图像上对齐? - How can I make an image always be aligned on top of another one regardless of browser window size? 如何制作一个跟随浏览器 window 但在其容器末尾停止的箭头? - How can I make an arrow that follows the browser window but stops at the end of its container? 我可以调整浏览器窗口的大小吗? - Can I resize the browser window? 当使用window.open并将HTML直接写入新页面时,如何让浏览器知道页面已完成“加载”? - How can I make the browser know that the page has finished “loading” when using window.open and writing HTML directly to the new page?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM