Re: [PHP] Right Click Hyperlink

2003-07-31 Thread skate
> 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

Re: [PHP] Right Click Hyperlink

2003-07-31 Thread Joona Kulmala
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

Re: [PHP] Right Click Hyperlink

2003-07-31 Thread desa15
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

[PHP] Right Click Hyperlink

2003-07-31 Thread Matt Palermo
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