thanks, you guys...i have the solution and am not asking for any special programming...just how to get a javascript file, which normally automatically loads on every page in zencart, to load on the lightbox presentation page. You know, like the css file does. So I'll look for how the css links to the lightbox event and try that.
I don't post my link here because in the past my sight has been overwhelmed and the bandwidth through the roof.
here is the js code..it is a common old script. thanks for your time:
Code:
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/
var clickmessage="Images Copyrighted. Please do not copy."
function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}
function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}
if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()
Bookmarks