coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: uvgoth on February 23, 2006, 06:37:11 PM

Title: No-Right-Click Javascript - Into Which File?
Post by: uvgoth on February 23, 2006, 06:37:11 PM
Because today I'm being dense, could someone please tell me which files to place which of the code from Codelifter.com .

(haven't decided which to use yet though thinking about the second and opening a page explaining my copyrights, etc).

http://www.codelifter.com/main/javascript/norightclick1.html (http://www.codelifter.com/main/javascript/norightclick1.html) (basic)

http://www.codelifter.com/main/javascript/norightclick2.html (http://www.codelifter.com/main/javascript/norightclick2.html) (launches popup window)
Title: Re: No-Right-Click Javascript - Into Which File?
Post by: Nibbler on February 23, 2006, 06:41:58 PM
Either put it as it is in the head section in template.html or copy just the code and add that in scripts.js.
Title: Re: No-Right-Click Javascript - Into Which File?
Post by: uvgoth on February 23, 2006, 07:08:15 PM
Thanks!

Some days I wonder if my head is fully functioning. :)