-
Drag and Drop, Disapearing background image
1) Script Title:
dom-drag.js
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...ag/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?
-
-
I fixed it. Well I worked around it. Instead of placing the background image in the dragable item I placed it in the root object and since you can see though the dragable item the effect is the same w/o the bug.
I like this script it's easy and effective.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks