87,907
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>test</title>
</head>
<script language="javascript">
function show(url){
var f=document.getElementById("f");
f.style.display="block";
f.src=url;
}
</script>
<body topmargin="0" leftmargin="0" scroll="no">
<select name="select2" id="select2" onchange="if(this.options[this.selectedIndex].value!=''){show(this.options[this.selectedIndex].value);document.getElementById('t_table').style.display='none';}else{document.getElementById('t_table').style.display='';}">
<option selected="selected" >选择网站</option>
<option value="http://www.baidu.com/">百度</option>
<option value="http://www.lzbt.net/">飞鸟影苑</option>
</select>
<iframe marginwidth="1" width="100%" height="100%" scrolling="yes" border="0" frameborder="0" style="display:none" id="f"></iframe>
</body>
</html>
<!--这个Schema不支持iframe的100%高度设置-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">