WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 Why is this different in Mozilla??, Mikael, March 6, 2004
     Re:Why is this different in Mozilla??, DHTML Kitchen, May 7, 2004
     Re:Why is this different in Mozilla??, Erik Arvidsson, March 6, 2004

Subject: Re:Why is this different in Mozilla?? From: DHTML Kitchen Date: May 7, 2004

Both worked - I guess you fixed it.

Anyway, if you're trying to prevent selecting and getting the blue haze over the image, try this:

var el = dragObj.handle;

if(typeof el.style.MozUserSelect == "string")
el.style.MozUserSelect = "none";
else if(typeof el.onselectstart != "undefined") {
el.onselectstart = function() { return false; };

This way you can disable select on a dragObject's handle -- useful for window simulation or draggable form elements (menus with search boxes, richedit areas, et c).

Hi, why is this working in Mozilla http://www.naltabyte.se/server12/drag.asp
- and not this http://www.naltabyte.se/server12/game.asp ?
How do I reflect focus in Mozilla away from the image onmousemove??
/ Mikael


Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.

View All Messages
Back to WebFX