Changeset 699


Ignore:
Timestamp:
01/26/07 13:15:36 (13 years ago)
Author:
ray
Message:

Ticket #921 EFM extended file manager - iframe height problem (IE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r697 r699  
    54365436  scope = (scope) ? scope : window; 
    54375437  var x,y; 
    5438   if (window.innerHeight) // all except Explorer 
     5438  if (scope.innerHeight) // all except Explorer 
    54395439  { 
    54405440    x = scope.innerWidth; 
    54415441    y = scope.innerHeight; 
    54425442  } 
    5443   else if (document.documentElement && document.documentElement.clientHeight) 
     5443  else if (scope.document.documentElement && scope.document.documentElement.clientHeight) 
    54445444  // Explorer 6 Strict Mode 
    54455445  { 
     
    54475447    y = scope.document.documentElement.clientHeight; 
    54485448  } 
    5449   else if (document.body) // other Explorers 
     5449  else if (scope.document.body) // other Explorers 
    54505450  { 
    54515451    x = scope.document.body.clientWidth; 
Note: See TracChangeset for help on using the changeset viewer.