How to disable "Right click to open image in new window"?
mediafrenzy - November 4, 2009 - 06:37
| Project: | Flash gallery |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'd like to remove the link when you right-click on the flash gallery image to "Open image in new window". I'm not sure how to go about this?
I see the following line of code in flash_gallery.module :
$op[] = 'enableRightClickOpen="'. $rc .'"';According to the simpleviewer documentation, this is the option that sets this to TRUE or FALSE, but how should I go about doing this via the flash_gallery module? http://www.simpleviewer.net/simpleviewer/options.html
Thanks!

#1
I should point out for anyone interested, that changing the above line of code to the following does remove the "Open image in new window" link when you right click on the images:
$op[] = 'enableRightClickOpen="false"';