解决了,看了vbscript的范例解决的,没想到在JS下也适用 呵呵。document.bgColor = parent.document.bgColor;
解决方案 »
- 怎样判断一个iframe里面的页面是否加载完?
- 请高手解决下问题,关于点击触发的
- 一个JS问题,请高手指点!
- 点击页面中任何一个连接时,怎样捕获该被点击的连接对象(解决再另外给分,我实在没择了):
- 怎样用Jquery 替换标签
- 简单问题..高手>>>> javascript中的运算问题????
- 用window.showModelessDialog打开页面后,怎么在打开的页面中获得父页面的某些值?
- 错了~!错了~!大家近来改错啊~!!!请互相转告~!!!谢谢!高分~!在线等待~!
- 层的滚动条能不能去掉的?
- 求教jquery问题-----asyncbox
- 关于web页面的客户端打印的问题,急!
- 怎么用asp.net作图?
body,document,marquee,table,tbody,td,tfoot,th,thead,tr
在style对象中只有:
backgroundColor
这些都属于DHTML,并不是js或vbs,当然在vbs和js下都可以用
<body bgcolor='#666666'>
<iframe src="about:<script>alert(parent.document.body.bgColor)</script>" width=100 height=100></ifrmae>2
<body bgcolor='#666666'>
<iframe src="about:<script>alert(parent.document.body.bgColor)</script>" width=100 height=100></ifrmae>3.
<body bgcolor='#666666'>
<iframe src="about:<script>alert(parent.document.body.currentStyle.backgroundColor)</script>" width=100 height=100></ifrmae>