Thread: Alert
View Single Post
Old 09-21-2004, 09:56 AM   #1 (permalink)
South
Moderator
 
South's Avatar
 
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 3,037
iTrader: 0 / 0%
South is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest orderSouth is a web professional of the highest order
Alert

This script produces the "silent" no right click. I need it to serve an alert. Can this be done?

var disableRightClickString = "<script>function disableRightClick(e){if(document.layers){document. captureEvents(Event.MOUSEDOWN);document.onmousedow n = disableRightClick; }else document.oncontextmenu = disableRightClick; return document.rightClickDisabled = true;} disableRightClick(); </script>";


Thanks
__________________
"The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people."
South is offline   Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links