һ
 ע

QQ¼

ֻһٿʼ

ƼĶ

+
̳ WEBҳǰ뿪 ǰ̨ű

iframe߶Ӧδ

[]
34507 happy175 2015-3-20 17:01:02
| ʾȫ¥
1F

ϵ½עᣬύѣø๦ܣϴزIJޣ

Ҫ ¼ ſػ鿴ûʺţע  

x
ַܽһϲȻܽģԱȽϺã֧IE8Լı׼IE8°汾ûвԣIE8ϰ汾ַ֧֣ͨjsiframeĿߵģڶַܼ򵥣ҿдģûвԣӦòˣֱ룺
һ֣

  1. <script type="text/javascript">  
  2.   function findDimensions(){  //ȡߴ
  3.   var winWidth = 0;
  4. var winHeight = 0;
  5. //ȡڿ
  6. if (window.innerWidth){
  7. winWidth = window.innerWidth;
  8. }else if ((document.body) && (document.body.clientWidth)){
  9. winWidth = document.body.clientWidth;
  10. }
  11. //ȡڸ߶
  12. if (window.innerHeight){  
  13. winHeight = window.innerHeight;
  14. }else if ((document.body) && (document.body.clientHeight)){
  15. winHeight = document.body.clientHeight;
  16. }
  17. //ͨDocumentڲbodyм⣬ȡڴС
  18. if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth){
  19. winHeight = document.documentElement.clientHeight;
  20. winWidth = document.documentElement.clientWidth;
  21. }
  22. //divĸ߶ԼiframeĿ
  23. var iframehei = winHeight - 180;
  24. var iframeWid = winWidth - 310;
  25. document.getElementById("Conframe").style.height=iframehei+"px";
  26. document.getElementById("Conframe").style.width=iframeWid+"px";
  27. }
  28.   
  29.   $(document).ready(function(){
  30. findDimensions();
  31. menuOnClick("homePage/homePage.do");
  32. });
  33. //úȡֵ
  34. $(window).resize(function(){
  35. findDimensions();
  36. });
  37.   </script>
ƴ


ڶ֣

  1. <iframe name="main" src="home.jsp" width=100% onload="this.height=this.contentWindow.document.body.scrollHeight" frameborder=No border=0 marginwidth=0 marginheight=0 scrolling=no></iframe>
ƴ


ڶDzǺܼ򵥣ֱˣ

  1. onload="this.height=this.contentWindow.document.body.scrollHeight"
ƴ

Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ
ݼ6446 2015-4-27 21:03:05
| ʾȫ¥
2F
Ҫ,¥ͷDz
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
kaorou39 2015-5-26 11:32:47
| ʾȫ¥
3F
Ҫ,¥ͷDz
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2016-12-30 09:10:52
| ʾȫ¥
4F
- -.......
ϲݻױѵ http://www.xszsz.com/
ϲݻױѧУ http://www.xszsz.com/
ϲѧУ http://www.xszsz.com/
ϲӰѵ http://www.xszsz.com/
ϲӰѵѧУ http://www.xszsz.com/
ϲӰѵ http://www.xszsz.com/
ϲרҵӰѵ http://www.xszsz.com/
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-14 05:46:53
| ʾȫ¥
5F
ֵǿ㶥^_^
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-14 12:58:11
| ʾȫ¥
6F
֧ӷ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
pkyxm 2017-11-18 15:40:48
| ʾȫ¥
7F
˵IJֻԵ붼׬Ǯ  www.cp369369.com
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
pkyxm 2017-12-19 20:56:15
| ʾȫ¥
8F
֧һ°ɣֻԵд׬Ǯ   http://www.w888w888.com
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
б

ֹ

²

̳¡ͼƬѷϴվԭתԻ,µİȨԭ
վַİȨ֪ͨǵĹԱ,Ա(Email:admin@websjy.com)ʱȡȨɾ
ܾκκʽڱ̳л񹲺͹ִ!

QQ| 42011102000510|Archiver|ֻ|Դ ( ICP14013341-1

GMT+8, 2018-1-18 22:09

Powered by Discuz! X3.2

ԴԴվ  ԴAPPӦ֮

ٻظ ض б