Hi,
>>Did you notice that dhtml scrolls have to be done by rollover because
>> keeping the mouse over the button cause the contect menu to appear ?
>> Sometimes I wonder if Mac's mouses were engineered to be used by humans.
>> We've got 5 fingers. Most of us.
OnDynAPI(1)/ MacOS I have managed make the contextual menus not to
appear in this way:
- addind a boolean (bPtrDn) that indicate if the mouse is click down
on a button.
- in the function pTestActive():
//############
function AX8pTestActive() {
if (is.ie)
return false;
var b =3D false;
b =3D b || (this.useV && (this.barV.bDragActiv ||
this.barV.lyrs.box.slideActive || this.barV.bPtrDn));//modif
b =3D b || (this.fen.lyrs.content.slideActive);
b =3D b || (this.btnUp.bPtrDn || this.btnDn.bPtrDn);//modif
b =3D b && this.bActiv;
return b;
}
//############
- in the document event handler
//############
=2E..
vaFonc =3D function(){
return !AX4wpTxtScrollTestActive();
//wrapper function that returns Instance.pTestActive()
}
AX3gpMouseDownTrm =3D AX3gpMouseMoveTrm =3D vaFonc;
if (is.ns) {
window.document.captureEvents(Event.MOUSEUP |
Event.MOUSEOVER); }
window.document.onmousemove =3D AX3gpMouseMove;
window.document.onmouseup =3D AX3gpMouseUp;
=2E..
//############
--
Jean-Pierre DENYS
t=E9ls.
(+ 33) 6 80 14 43 35
(+ 33) 1 44 65 02 69
(+ 34) 93 221 63 50
sto...@re...
im...@it...
|