使用JS更改窗口样式。 [英] Change the window style using JS.
本文介绍了使用JS更改窗口样式。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我执行 window.open ,则可以在feature参数中设置样式(要素)。如果系统打开窗口,那么我如何使用JS设置样式(功能)。我的意思是我可以使用JS访问当前窗口的样式(功能)吗?
请帮帮我!
解决方案
@dmjpro
如果你打开的窗口是一个html文件,你可以使用JS来改变你想要的任何东西。你只需要为它找到合适的JS属性。
是的我知道......但是有什么属性...........我怎么能设置那些属性???
咨询你最喜欢的JS参考。例如窗口对象? MDC
Suppose if i do window.open then the styles(features) can be set in feature parameter. If the system opens the window then how can i set the styles(features) using JS. I mean can i access the styles(features) of the current window using JS?
Please help me out!
解决方案
@dmjpro
if your opened window is a html file, you can use JS to pretty much changing all you want. you only need to find the right JS properties for that.
Yeah i know that ...but what are the properties ........... how can i set those properties ???
consult your favourite JS reference. e.g. window object ? MDC
这篇关于使用JS更改窗口样式。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文