From 009b75393fec10944606596d5d4cb3af61c8eb4f Mon Sep 17 00:00:00 2001 From: Antoine Vandecreme Date: Tue, 25 Mar 2014 11:34:46 -0400 Subject: [PATCH] Remove ActiveX for IE<11. Update changelog. --- changelog.txt | 3 +++ src/fullscreen.js | 14 -------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/changelog.txt b/changelog.txt index 19027d4e..0f5133b0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -6,7 +6,9 @@ OPENSEADRAGON CHANGELOG * BREAKING CHANGE: the openseadragon-canvas element now has two child divs. This means: (#298) * The drawer element is no longer accessible via viewer.canvas.firstChild but via viewer.drawersContainer.firstChild or viewer.drawer.canvas. * The overlays elements are no longer accessible via viewer.canvas.childNodes but via viewer.overlaysContainer.childNodes or viewer.currentOverlays[i].element. +* BREAKING CHANGE: Pseudo full screen mode on IE<11 using activex has been dropped. OpenSeadragon will run in full page if full screen mode is requested. * DEPRECATION: overlay functions have been moved from Drawer to Viewer (#331) +* DEPRECATION: OpenSeadragon.cancelFullScreen has been renamed OpenSeadragon.exitFullScreen (#358) * Added layers support. Multiple images can now been displayed on top of each other with transparency via the Viewer.addLayer method (#298) * Improved overlay functions (#331) * Fixed: Nav button highlight states aren't quite aligned on Firefox (#303) @@ -23,6 +25,7 @@ OPENSEADRAGON CHANGELOG * Added pre-draw event for tiles to allow applications to alter the image (#348) * Added optional Rotate Left/Right buttons to standard controls (#341) * Added optimization for large numbers of overlays: `checkResize = false` option for OpenSeadragon.Overlay (#365) +* Updated full screen API, adding support for Opera and IE11 and allowing keyboard input in Chrome (#358) 1.0.0: diff --git a/src/fullscreen.js b/src/fullscreen.js index 8ed71262..09ac1ff7 100644 --- a/src/fullscreen.js +++ b/src/fullscreen.js @@ -138,20 +138,6 @@ }; fullScreenApi.fullScreenEventName = "mozfullscreenchange"; fullScreenApi.fullScreenErrorEventName = "mozfullscreenerror"; - } else if ( typeof window.ActiveXObject !== "undefined" ) { - // Older IE. Note that supportsFullScreen stay to false because not all - // methods and events are supported. - // Support based on: - // http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen/7525760 - fullScreenApi.requestFullScreen = function() { - /* global ActiveXObject:true */ - var wscript = new ActiveXObject( "WScript.Shell" ); - if ( wscript !== null ) { - wscript.SendKeys( "{F11}" ); - } - return false; - }; - fullScreenApi.exitFullScreen = fullScreenApi.requestFullScreen; } fullScreenApi.cancelFullScreen = function() { $.console.error("cancelFullScreen is deprecated. Use exitFullScreen instead.");