请教如何动态改变frameset中border的颜色?

是frame不是iframe
是页面显示出来后动态的改变它的border的颜色
有些像csdn论坛用的中间那条黑色的border

---------------------------------------------------------------

http://expert.csdn.net/Expert/topic/1684/1684333.xml?temp=.6782953
---------------------------------------------------------------

1<frameset border="1" framespacing="0" leftmargin="0" marginheight="0" marginwidth="0" rows="81,*" topmargin="0">
2<frame border="0" frameborder="no" leftmargin="0" marginheight="0" marginwidth="0" name="fraToolbar" noresize="" scrolling="no" src="" topmargin="0"/>
3<frameset border="10" cols="216,*" frameborder="1" framespacing="10" id="m" leftmargin="0" marginheight="0" marginwidth="0" name="fstMain" topmargin="0">
4<frame border="1" frameborder="1" leftmargin="0" marginheight="0" marginwidth="0" name="fraLeftFrame" src="" topmargin="0"/>
5<frame bordercolor="#000000" frameborder="1" id="x" name="fraRightFrame" src="a.htm"/>
6</frameset>
7</frameset>

a.htm

1<input onclick="parent.document.all.x.borderColor='red';top.document.all.m.cols='0,*';setTimeout('top.document.all.m.cols=\'216,*\'',1)" type="button"/>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus