Last night, I mentioned making a FK tutorial that shows how to customize a browsers right-click context menu and use it to navigate a SWF (IE5+/NS6). Well, the leg-work is done, and I would like you to try and break it (find bugs) before I send it to the FK Powers That Be. Thanks for helping me out! Also, do you think there is an interest for this sort of thing? (i.e. is it worth spending the time making the actual tutorial?)
Just for kicks, I merged my right-click script with Mr. Penner's ingenious Back button method (wanted to see if I could get it to work). I will leave the Back button out of the final tutorial (I'm going to email Robert Penner - if he gives me permission, and there is interest, I'll update the tutorial to include the Back button feature)
Anyway:
http://www.networksplus.net/sem/Back...ck/index2.html
Thanks to Nigs for making me consider javascript as a solution to the right click menu ('got me on the right track - replacing the context menu via js has been done before in an DHTML environment). Also, Xanth at Were-Here showed me how to make the menu via js.
Sem.
P.S. Excuse the cheesy, fake webpage with no preloader. Making something beautiful for testing purposes wasn't my goal - I wanted to keep er simple.
P.P.S Known bugs:
1. The right click menu may not work immediately. Give js a sec to kick in.
2. Pressing both mouse buttons simultaneously will sometimes bring up the standard browser context menu
3.It will intermittantly show the typical 'About Macromedia Flash 5' submenu rather than the custom menu. I haven't figured out why, it is pretty random (and very infrequent) -- any suggestions?
[Edited by Sem on 10-18-2001 at 04:50 AM]