Phpbb version: 3.07-PL
Style: prosilver
Board: http://www.veinsfetiche.com/forums/
Problem: I installed drag and drop forums list, but the drop is not happening. It just sort of sticks to your mouse not matter what you do.




dragEvent.group.element.style.zIndex = originalZIndexonTopWhileDragging : function(zIndex) {
var zIndex = typeof(zIndex) != "undefined" ? zIndex : 100000;
originalZIndex = ToolMan.css().readStyle(this.element, "z-index")
this.register('dragstart', function(dragEvent) {
dragEvent.group.element.style.zIndex = zIndex
})
this.register('dragend', function(dragEvent) {
dragEvent.group.element.style.zIndex = originalZIndex
})
},dragEvent.group.element.style.zIndex = zIndexoriginalZIndex : 'auto'originalZIndex = ToolMan.css().readStyle(this.element, "z-index")var zIndex = typeof(zIndex) != "undefined" ? zIndex : 100000;

Google wrote:This seems to be a common problem with IE8: http://lmgtfy.com/?q=IE8+zindex+invalid+argument

dragEvent.group.element.style.zIndex = this.style.originalZIndex
onTopWhileDragging : function(zIndex) {
var zIndex = typeof(zIndex) != "undefined" ? zIndex : 100000;
originalZIndex = ToolMan.css().readStyle(this.element, "z-index")
this.register('dragstart', function(dragEvent) {
dragEvent.group.element.style.zIndex = zIndex
})
this.register('dragend', function(dragEvent) {
dragEvent.group.element.style.zIndex = originalZIndex
})
},onTopWhileDragging: function(z) {
// IE8 Modifications by Houlie
var zIndex = typeof (z) != "undefined" ? z : 100000;
var originalZIndex = ToolMan.css().readStyle(this.element, "z-index");
if (typeof (originalZIndex) == "undefined") originalZIndex = ToolMan.css().readStyle(this.element, "zIndex");
this.register('dragstart', function(e) { e.group.element.style.zIndex = zIndex; });
this.register('dragend', function(e) { e.group.element.style.zIndex = originalZIndex;});
},

Users browsing this forum: No registered users and 0 guests