The Macromedia script that creates your menus is rather antisocial and blindly assigns a listener to the onmouseup property of the document object[1]. This overwrites the listener used by the drag 'n drop script, and hence your problem. To solve this, you'll need to do a bit of restructuring.
First, move the script element that includes the Macromedia script so that it's the first script element in the document. Whilst you're at it, remove the language attribute from the starting tag (specifying "Javascript1.2" is bad idea).
Second, delete the script element that calls mmLoadMenus, currently located at the start of the body element.
Third, move the large inline script element into the body element (where the previous one was), and call mmLoadMenus just after it's defined in that block.
Finally, at the end of that script block, replace:
Code:
document.onmouseup=new Function("dragapproved=false")
with:
Code:
document.oldmouseup = document.onmouseup;
document.onmouseup = function() {
if(this.oldmouseup) {this.oldmouseup();}
dragapproved = false;
};
A nasty hack, but it should work.
Good luck,
Mike
[1] The drag 'n drop script does too, but you'd expect more from an international corporation. Well, not really I suppose; it is Macromedia
Bookmarks