iframe的使用~


1.某个按钮的点击:currentF(123);

2.function currentF(guid){
  var url = "<%=request.getContextPath()%>/aaaa/bbbb_ccc.html?guid="+guid; //此地址即为想展示的页面进入action
  window.frames["property_con"].location.href = url;
}

3.在想显示的区域布置上iframe

<iframe name="property_con"  allowTransparency="true" src="#" width="100%" height="800px" frameborder="0" marginwidth="0" marginheight="0" ></iframe>


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM