> Does anyone know if there is anything in PHP or any other language that
> would
>
you can't do this in PHP, physically impossible. you also can't do it with
any other server side language. the only way to do it is with a client side
language, such as the JavaScript ways posted, or possibly the
Does anyone know if there is anything in PHP or any other language that
would
allow a specific action to occur if a visitor right-clicked on a
link. For example, they could left click on it an go to a specified
page, and they could also right-click it to go to a different page.
Anyone know o
you refer to this
var message="some text";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
doc
Does anyone know if there is anything in PHP or any other language that would
allow a specific action to occur if a visitor right-clicked on a link. For
example, they could left click on it an go to a specified page, and they could
also right-click it to go to a different page. Anyone know of
4 matches
Mail list logo