mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
make popup show on top of flash in IE
This commit is contained in:
@@ -150,29 +150,30 @@ function onDocumentPrinted(){
|
||||
*/
|
||||
|
||||
(function() {
|
||||
|
||||
var IE = document.all,
|
||||
URL = 'http://www.adobe.com/go/getflashplayer',
|
||||
JQUERY = typeof jQuery == 'function',
|
||||
RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
|
||||
GLOBAL_OPTS = {
|
||||
// very common opts
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
id: "_" + ("" + Math.random()).slice(9),
|
||||
|
||||
// flashembed defaults
|
||||
allowfullscreen: true,
|
||||
allowscriptaccess: 'always',
|
||||
quality: 'high',
|
||||
|
||||
// flashembed specific options
|
||||
version: [3, 0],
|
||||
onFail: null,
|
||||
expressInstall: null,
|
||||
w3c: false,
|
||||
cachebusting: false
|
||||
};
|
||||
|
||||
var IE = document.all,
|
||||
URL = 'http://www.adobe.com/go/getflashplayer',
|
||||
JQUERY = typeof jQuery == 'function',
|
||||
RE = /(\d+)[^\d]+(\d+)[^\d]*(\d*)/,
|
||||
GLOBAL_OPTS = {
|
||||
// very common opts
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
id: "_" + ("" + Math.random()).slice(9),
|
||||
|
||||
// flashembed defaults
|
||||
allowfullscreen: true,
|
||||
allowscriptaccess: 'always',
|
||||
quality: 'high',
|
||||
wmode: 'opaque', // by lj, 2012-11-10
|
||||
|
||||
// flashembed specific options
|
||||
version: [3, 0],
|
||||
onFail: null,
|
||||
expressInstall: null,
|
||||
w3c: false,
|
||||
cachebusting: false
|
||||
};
|
||||
|
||||
if(IE){GLOBAL_OPTS.cachebusting=true;}
|
||||
|
||||
@@ -446,4 +447,4 @@ function onDocumentPrinted(){
|
||||
};
|
||||
}
|
||||
|
||||
})();
|
||||
})();
|
||||
|
Reference in New Issue
Block a user