Hi, You'll probably need to have that code wrapped in a dom:loaded handler or something for it to find the elements reliably.
But even doing that, I'm not immediately having any success preventing Opera's default action. I tried hooking events on the image itself (rather than a parent) just in case. This page may be useful to you (depressing, but useful): http://unixpapa.com/js/mouse.html HTH, -- T.J. Crowder tj / crowder software / com On Dec 12, 1:52 pm, Rauan Maemirov <[email protected]> wrote: > http://pastie.org/337589 > > I have specific task, so I need mouseup. But anyway if you would use > click or mousedown and comment the alert anyway u'll get "Save as" > dialog, otherwise it alerts text and stops event... > > On Dec 12, 6:34 pm, "T.J. Crowder" <[email protected]> wrote: > > > Hi, > > > Can you post a *minimalist* example demonstrating the problem to > > Pastie?http://pastie.org > > -- > > T.J. Crowder > > tj / crowder software / com > > > On Dec 12, 9:57 am, Rauan Maemirov <[email protected]> wrote: > > > > Hi list. I'm trying to prevent Opera's image save dialog when clicking > > > Ctrl + mouseclick. e.stop() doesn't help. It's just don't get to > > > observer handler. Does anybody have workaround for this? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
