From: Jan Schneider Date: Mon, 16 Mar 2009 15:41:00 +0000 (+0100) Subject: Create captions absolutely positioned. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dfac28313933e45272a82ad32c76f5cc092dd1af;p=horde.git Create captions absolutely positioned. --- diff --git a/imp/js/src/dragdrop.js b/imp/js/src/dragdrop.js index 3311d35f1..2839bc788 100644 --- a/imp/js/src/dragdrop.js +++ b/imp/js/src/dragdrop.js @@ -74,7 +74,7 @@ var DragDrop = { register: function(obj) { if (!this.div) { - this.div = new Element('DIV', { className: obj.options.classname }).hide(); + this.div = new Element('DIV', { className: obj.options.classname }).setStyle({ position: 'absolute' }).hide(); $(document.body).insert(this.div); document.observe('mousedown', this._mouseHandler.bindAsEventListener(this)); }