[quote=shakiro214]^I should probably just download an Opera browser then
.gif)
Tnx for the feedback. I'll figure it out

I can't get moveTo to work on my Opera

I must be missing something[/quote]
I mentioned a while ago that such functions must be supported by your browser.
Also in some browsers the default actions of the right and middle mouse buttons cannot be disabled, or can only be disabled by changing browser settings. Such changes to browser settings typically affect all pages viewed through the browser, and typically cannot be done from Javascripts.
In Opera, if you enable the "Allow Javascript to receive right clicks" option, Javascript does receive the right clicks, but the default action cannot be disabled. It always comes up. Without being able to disable the default action, capturing the event is completely useless.
That's the reason why all our right-click codes are so short. We never even bother looking for ways to disable the function in Opera... We don't use onmousedowns, onmouseups, event.button, etc... just this
document.oncontextmenu=some functions here
which also disables the context menu key in the keyboard and not just the mouse button...

@arianne011
add the codes to your external js file
Last edited by jopet_Q (2008-03-07 20:19:26)