Sure. Call it from a js file and reference it via the copyright. If it
doesn't like it, try putting / in front of the quotes.
Jason
---------------------------------
JMH Web Services
Web Development, Miva Merchant, and Much More!
<A HREF ="http://www.jmhonline.net">http://www.jmhonline.net</A>
To all,
I have a few lines of Javascript that I want to add at or near the
bottom of each page that SEK (Search Engine Killer) generates. Though
SEK gives you some capability to enter some tags, it doesn't seem to
offer enough of this type of feature to add something like the function
below. Does anyone have any suggestions?: Thanks/Steven
"<script language="JavaScript1.2">
/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit <A HREF ="http://www.dynamicdrive.com <http://www.dynamicdrive.com>">http://www.dynamicdrive.com <http://www.dynamicdrive.com></A>
*/
var clickmessage="Right click disabled on images!"
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()
</script>"
Comment