Create a style class as follows:
.unselectable {
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
-ms-user-select : none
}
Then slightly modify Javascript to assign this class to mousedown. Thus, from this unchanged script, it will look like this.
jQuery(function($){
iPhoneAnimation.init();
$(".content-box").bind("mousedown", function(e){
$(this).bind("mousemove", iPhoneAnimation.moveInfo);
$(this).addClass("unselectable");
});
$(".content-box").bind("mouseup", function(e){
var $this = $(this);
$this.unbind("mousemove", iPhoneAnimation.moveInfo);
iPhoneAnimation.panelAnimate($this);
iPhoneAnimation.resetVars();
$(this).removeClass("unselectable");
});
});
mousedown :
$(this).unbind('mouseenter mouseleave');
mouseup, .