Nuno Ferreira wrote:
>As long as it's not "on" by default. (and please correct me if
>I'm saying something stupid) :)
>
Check out my site: http://members.evolt.org/mpember/afroapix/
You will see that my method uses a dynamic method of stopping menus /
selection. I did it in a such a way so as to allow both IE and NS to
behave in the same fashion.
By setting the browserReturn value to false, NS4 stops selection /
menus. IE uses a different event to stop these actions. You will see
that the following lines exist in my code:
if (evt.type=='rtmouseup')
document.oncontextmenu=evt.browserReturn ? null : AfroAPI.FalseFunction;
else if (evt.type=='mousedown')
document.onselectstart=evt.browserReturn ? null : AfroAPI.FalseFunction;
In doing so, I am able to stop the menus / selection based on the same
value as is being used by NS4. This basically works in NS6 also.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/