You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main issue isnt only on IE9
The cover sometimes doesn't work, because its height is set to 100%.
but if the page is higher you are able to load x new windows
(tested in Chrome Version 39.0.2171.71 m).
For Quick fix: set its height to clientHeight in jquery.contextmenu.js:
From:
// Cover rest of page with invisible div that when clicked will cancel the popup.
var bg = $('
')
.css({left:0, top:0, width:'100%', height:'100%', position:'absolute', zIndex:1000000})
.appendTo(document.body)
To:
// Cover rest of page with invisible div that when clicked will cancel the popup.
var bg = $('')
.css({left:0, top:0, width:'100%', height:document.body.clientHeight+'px', position:'absolute', zIndex:1000000})
.appendTo(document.body)
[EDIT:]
Or ...ehm... of course set position from absolute to fixed
// Cover rest of page with invisible div that when clicked will cancel the popup.
var bg = $('
on IE9 the bg cover sometime not work, so I just add a few code, to avoid this,
// On contextmenu event (right click)
this.bind('contextmenu', function(e) {
//remove any old, maodonghu 2013/4/11
$('.bgCover').remove();
$('.'+settings.contextMenuClass).remove();
...
var bg = $('<div class="bgCover"></div>')
The text was updated successfully, but these errors were encountered: