Iframe
.left{
color:#0F0;
border: #0F6 1px solid;
width:20%;
height:300px;
float:left;
text-align:center;
}
.right{
color:#0F0;
border: #30C 1px solid;
width:79%;
height:300px;
position:relative;
float:right;
text-align:center;
}
// 全局变量
var src;
//带参数函数
function goToPage(param){
document.getElementById("myIframe").src=param;
src=param;
// 打印传递过来的参数
printf();
//$("#myIframe").attr("src",param);
}
//无参数函数
function printf(){
alert(src);
}
right