һ
 ע

QQ¼

ֻһٿʼ

ƼĶ

+
̳ WEBҳǰ뿪 ǰ̨ű

JS ȡҳݸ߶ ҳӸ߶ ֧IE 6789 Firefox Chrome

[]
72637 websjy 2011-2-25 09:50:26
| ʾȫ¥
1F

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

Ҫ ¼ ſػ鿴ûʺţע  

x
  1. function getClientHeight()
  2. {
  3. //ɼ
  4. var clientHeight=document.body.clientHeight;//Ĭֵ
  5. if(navigator.userAgent.indexOf("MSIE 6.0")!=-1)
  6. {
  7. clientHeight=document.body.clientHeight;
  8. }
  9. else if(navigator.userAgent.indexOf("MSIE")!=-1)
  10. {
  11. //IE7 IE8
  12. clientHeight=document.documentElement.offsetHeight
  13. }

  14. if(navigator.userAgent.indexOf("Chrome")!=-1)
  15. {
  16. clientHeight=document.body.scrollHeight;
  17. }

  18. if(navigator.userAgent.indexOf("Firefox")!=-1)
  19. {
  20. clientHeight=document.documentElement.scrollHeight;
  21. }
  22. return clientHeight;
  23. }

  24. //ҳݸ߶
  25. function getContentHeight()
  26. {
  27. //ɼ
  28. var ContentHeight=document.body.scrollHeight;//Ĭֵ

  29. if(navigator.userAgent.indexOf("Chrome")!=-1)
  30. {
  31. ContentHeight= document.body.clientHeight;
  32. }

  33. if(navigator.userAgent.indexOf("Firefox")!=-1)
  34. {
  35. ContentHeight=document.body.offsetHeight;
  36. }
  37. return ContentHeight;
  38. }
ƴ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ
lwnykf 2011-2-25 15:29:34
| ʾȫ¥
2F

ѧУ
֣칫˾
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2016-12-6 22:58:04
| ʾȫ¥
5F
ð~~~~~~
http://www.xszsz.com/tai/94.html
http://www.xszsz.com/tai/93.html
http://www.xszsz.com/tai/92.html
http://www.xszsz.com/tai/91.html
http://www.xszsz.com/tai/90.html
http://www.xszsz.com/tai/89.html
http://www.xszsz.com/tai/88.html
http://www.xszsz.com/tai/87.html
http://www.xszsz.com/tai/86.html
http://www.xszsz.com/tai/85.html
http://www.xszsz.com/tai/84.html
http://www.xszsz.com/tai/83.html
http://www.xszsz.com/tai/82.html
http://www.xszsz.com/tai/81.html
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-18 13:08:30
| ʾȫ¥
6F
ֵղأҶ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-2-13 08:52:47
| ʾȫ¥
7F
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
zpmpb 2018-9-29 19:53:14
| ʾȫ¥
8F
QQ΢ͬ960358764ڹӦʺţп֤

֧v1ʵʺ350  v2ʵ450
Ŵv2ʵ֧600ԪƷ
Ա3v2ʵ֧2000Ԫ
Ա1v2ʵ֧1500Ԫ
֧v2ʵ֥550ֻ3000800Ԫ(ֱʹû¸)
֧v2ʵ֥680ֻ80002500Ԫ(ֱʹû¸)
֧v2ʵ֥680ֻ200005000Ԫ(ֱʹû¸)
ʵ΢65Ԫոʵ΢100Ԫʵ΢Ϻ180Ԫ
δʵ΢º32Ԫʵ
пļ1500Ԫп+֤+ֻ+uܣ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
б

ֹ

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

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

GMT+8, 2018-10-15 21:49

Powered by Discuz! X3.2

ԴԴվ  ԴAPPӦ֮

ٻظ ض б