<script language="Javascript">
function setwidth(){
document.getElementById("powerlist").style.width="100";
}
</script>/////调用的时候:
onclick="setwidth()"
function setwidth(){
document.getElementById("powerlist").style.width="100";
}
</script>/////调用的时候:
onclick="setwidth()"
<frameset rows="462,*" frameborder="no" border="0" framespacing="0">
<frame src="main.html" name="mainFrame" id="mainFrame" / scrolling="No" noresize="noresize">
<frame src="down.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
</frameset>
<frame src="rightindex.html" name="rightFrame" scrolling="No" noresize="noresize" id="rightFrame" />
</frameset>
parent.frames[0].document.getElementById("powerlist").style.width="100";