overflow was rendering scroll bar in IE for navigator and imagereference strip

This commit is contained in:
thatcher 2012-09-11 12:31:42 -04:00
parent e7785fe636
commit bebc7a64ff
4 changed files with 12 additions and 8 deletions

View File

@ -6,7 +6,7 @@
PROJECT: openseadragon
BUILD_MAJOR: 0
BUILD_MINOR: 9
BUILD_ID: 74
BUILD_ID: 76
BUILD: ${PROJECT}.${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}
VERSION: ${BUILD_MAJOR}.${BUILD_MINOR}.${BUILD_ID}

View File

@ -1,5 +1,5 @@
/**
* @version OpenSeadragon 0.9.74
* @version OpenSeadragon 0.9.76
*
* @fileOverview
* <h2>
@ -4708,6 +4708,7 @@ $.Navigator = function( options ){
style.top = '0px';
style.left = '0px';
style.fontSize = '0px';
style.overflow = 'hidden';
style.border = '2px solid #900';
//TODO: IE doesnt like this property being set
try{ style.outline = '2px auto #900'; }catch(e){/*ignore*/}
@ -6814,7 +6815,7 @@ $.ReferenceStrip = function( options ){
style.marginLeft = '0px';
style.left = '0px';
style.bottom = '0px';
style.border = '1px solid #555';
style.border = '0px';
style.background = '#000';
style.position = 'relative';
}( this.element.style ));
@ -6896,7 +6897,6 @@ $.ReferenceStrip = function( options ){
style.cssFloat = 'left'; //Firefox
style.styleFloat = 'left'; //IE
style.padding = '2px';
style.background = 'inherit';
}(element.style));
element.innerTracker = new $.MouseTracker({
@ -7090,7 +7090,7 @@ function loadPanels(strip, viewerSize, scroll){
style.top = '0px';
style.left = '0px';
style.fontSize = '0px';
style.background = 'transparent';
style.overflow = 'hidden';
style.float = 'left'; //Webkit
style.cssFloat = 'left'; //Firefox
style.styleFloat = 'left'; //IE
@ -7137,6 +7137,7 @@ function onStripEnter( tracker ) {
tracker.element.style.marginLeft = "0px";
}
return false
};
@ -7164,6 +7165,7 @@ function onStripExit( tracker ) {
tracker.element.style.marginLeft = "-" + ( Math.floor(viewerSize.x*this.sizeRatio)*0.8 )+ "px";
}
return false;
};

View File

@ -62,6 +62,7 @@ $.Navigator = function( options ){
style.top = '0px';
style.left = '0px';
style.fontSize = '0px';
style.overflow = 'hidden';
style.border = '2px solid #900';
//TODO: IE doesnt like this property being set
try{ style.outline = '2px auto #900'; }catch(e){/*ignore*/}

View File

@ -73,7 +73,7 @@ $.ReferenceStrip = function( options ){
style.marginLeft = '0px';
style.left = '0px';
style.bottom = '0px';
style.border = '1px solid #555';
style.border = '0px';
style.background = '#000';
style.position = 'relative';
}( this.element.style ));
@ -155,7 +155,6 @@ $.ReferenceStrip = function( options ){
style.cssFloat = 'left'; //Firefox
style.styleFloat = 'left'; //IE
style.padding = '2px';
style.background = 'inherit';
}(element.style));
element.innerTracker = new $.MouseTracker({
@ -349,7 +348,7 @@ function loadPanels(strip, viewerSize, scroll){
style.top = '0px';
style.left = '0px';
style.fontSize = '0px';
style.background = 'transparent';
style.overflow = 'hidden';
style.float = 'left'; //Webkit
style.cssFloat = 'left'; //Firefox
style.styleFloat = 'left'; //IE
@ -396,6 +395,7 @@ function onStripEnter( tracker ) {
tracker.element.style.marginLeft = "0px";
}
return false
};
@ -423,6 +423,7 @@ function onStripExit( tracker ) {
tracker.element.style.marginLeft = "-" + ( Math.floor(viewerSize.x*this.sizeRatio)*0.8 )+ "px";
}
return false;
};