怎么把javascript嵌入到<frame>标签?
有一个分左右的框架,<FRAMESET cols="270,*" name= "TopFrame" framespacing="0" border="0" frameborder="0">
<FRAME SRC="playview.html" name= "frame1" marginwidth="0" marginheight="0" scrolling="no" noresize>
<FRAME SRC="display.html" name= "frame2" marginwidth="0" marginheight="0" scrolling="auto">
</FRAMESET>
我想设定一个值a,当a不等于0时,右边框架为空,怎么把javascript嵌入进去?