From 8509811c380969704f0a09c80ab7c2dc53562431 Mon Sep 17 00:00:00 2001 From: thatcher Date: Tue, 20 Mar 2012 02:26:34 -0400 Subject: [PATCH] added correct float css syntax for navigator in firefox and older IE --- openseadragon.js | 4 +++- src/navigator.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/openseadragon.js b/openseadragon.js index 12a13709..79f321d0 100644 --- a/openseadragon.js +++ b/openseadragon.js @@ -4202,7 +4202,9 @@ $.Navigator = function( options ){ style.border = '1px solid #900'; style.outline = '2px auto #900'; style.background = 'transparent'; - style.float = 'left'; + style.float = 'left'; //Webkit + style.cssFloat = 'left'; //Firefox + style.floatStyle = 'left'; //IE style.zIndex = 999999999; }( this.displayRegion.style )); diff --git a/src/navigator.js b/src/navigator.js index ba416d34..fe30f7a6 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -57,7 +57,9 @@ $.Navigator = function( options ){ style.border = '1px solid #900'; style.outline = '2px auto #900'; style.background = 'transparent'; - style.float = 'left'; + style.float = 'left'; //Webkit + style.cssFloat = 'left'; //Firefox + style.floatStyle = 'left'; //IE style.zIndex = 999999999; }( this.displayRegion.style ));