Maybe you can try preventing the defaults of their mouseover and
mouseout as well.

Ariel Flesler

On 21 feb, 17:20, jquertil <[EMAIL PROTECTED]> wrote:
> actually, when you drag an image, the browser thinks you want to save
> it to the desktop or something, so it starts that default action.
>
> in IE, this is overridden with the preventDefault()
>
> but in FF this does not work. at least not in the functino I use it
> in.
>
> On Feb 20, 5:41 am, Ariel Flesler <[EMAIL PROTECTED]> wrote:
>
>
>
> > What do you expect e.preventDefault() to do in that case ?
> > The only default behavior I could think of, for mousemove, is the
> > hovering reaction and that, I don't think you can prevent.
>
> > Cheers
>
> > Ariel Flesler
>
> > On 20 feb, 01:43, jquertil <[EMAIL PROTECTED]> wrote:
>
> > > does anyone know why the preventDefault() would work fine in IE but
> > > not in Firefox? I tired placing it elsewhere and putting it in
> > > multiple plaves - no luck...
>
> > > Thanks for any pointers!
>
> > > isMouseDown = false;
> > > $('#dragger').mousedown(function(e){
> > >         isMouseDown = true;
> > >         $(document).mousemove(function(e){
> > >                 e.preventDefault();       // this bit for some reason is 
> > > not taken
> > > seriously by Firefox
> > >                 if(isMouseDown == true){
> > >                         // move things...
> > >                 }
> > >         });}).mouseup(function(e){
>
> > >         isMouseDown = false;
>
> > > });- Ocultar texto de la cita -
>
> > > - Mostrar texto de la cita -- Hide quoted text -
>
> > - Show quoted text -- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to