iframe 调用网页,div遮挡展现局部。

<div style=" width:iframe宽度; height:iframe高度; overflow:hidden ">
    <div style=" margin-top:负值,顶部定位;">
       <iframe src="http://gyzq.baike.com/" width="网页的完整宽度"; height="网页的完整高度" frameborder="0" scrolling="no" >
       </iframe>
     </div>
</div>

 

具体例子:

调用区域:

iframe调用页面中的局部部分

iframe调用页面中的局部部分

contractid 是项目中交易产参数

要展现的网页局部部分

iframe调用页面中的局部部分

最终效果:

iframe调用页面中的局部部分

 

相关文章:

  • 2022-12-23
  • 2021-07-28
  • 2021-11-04
  • 2021-12-05
  • 2021-07-25
  • 2021-11-30
  • 2021-04-14
猜你喜欢
  • 2022-02-11
  • 2021-07-06
  • 2022-02-09
  • 2021-07-31
  • 2022-12-23
  • 2021-07-28
  • 2021-12-29
相关资源
相似解决方案