icandothat
05-21-2008, 10:02 PM
1) Script Title:
dom-drag.js
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex11/domdrag/dom-drag.js
3) Describe problem:
I made a nifty little box that looks like a browser pop up with a blue bar on top and the little red 'X' image in the corner. When I drag this nifty little box around, using the dom-drag script by background image
background-image:url('../../imgs/windowsStyleBlueBorder.jpg');
vanishes.
Now I'm using the script like this
Drag.init(o,oRoot);
because I want the user to be able to move the box by dragging the title bar and still be able to select text inside the div.
Anyone ever seen this?
dom-drag.js
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex11/domdrag/dom-drag.js
3) Describe problem:
I made a nifty little box that looks like a browser pop up with a blue bar on top and the little red 'X' image in the corner. When I drag this nifty little box around, using the dom-drag script by background image
background-image:url('../../imgs/windowsStyleBlueBorder.jpg');
vanishes.
Now I'm using the script like this
Drag.init(o,oRoot);
because I want the user to be able to move the box by dragging the title bar and still be able to select text inside the div.
Anyone ever seen this?