Click to See Complete Forum and Search --> : Creating Hand Tool


CreativeMind
07-18-2007, 06:39 PM
Hi all,

Does anyone know how to create a hand tool in HTML or JavaScript like the one in Adobe Acrobat? I attached an image to look at. This hand tool allows you to move an image or PDF around.

Also, does anyone know how to get rid of the Right Mouse Click when viewing a PDF file? I have also attached an example image for this. Actually, I would like all these right mouse click tools to be on top of the web page so users can pick which tool they want to view either the image or PDF file. I would like to create these tools either html or JavaScript.


Thanks!:)

ray326
07-18-2007, 08:20 PM
Take a look at the Yahoo AJAX libraries to see if they can help. Overriding the right-click just flat doesn't work any more. Firefox will execute the Javascript then pop its own context menu up on top. Give them a little drop down menu from an icon in the upper right of the container.

felgall
07-19-2007, 04:14 AM
You can completely disable the no right click in Firefox so that you just get the regular context menu. Opera ignores no right click scripts with no option to enable them at all.