Portal Home > Knowledgebase > Articles Database > PHP - Keyboard Shortcuts?
PHP - Keyboard Shortcuts?
Posted by GNexus, 02-25-2010, 07:19 PM |
Hi everyone.
I wanted to know if there are any keyboard shortcuts (for forwards and backwards) that can be used using PHP?
For example, if I click the back button on my keyboard it goes to the last page I saw. If I click forward, then it goes forward (like the icons on a browser, but using a keyboard).
I know this can be achieved using JavaScript, but I wanted to know if it can be done via PHP as well. If so, how?
|
Posted by Host Ahead, 02-25-2010, 10:22 PM |
Hi,
This can only be done by using javascript. As Javascript runs client-side it is the only one able to achieve client-side behavior.
You could output client-side javascript through PHP, but that's just a detour because you will end up with Javascript anyway.
|
Posted by masteryan, 02-25-2010, 10:29 PM |
ya. js only
|
Posted by Moviefrontier, 02-25-2010, 11:13 PM |
there is vbscript.I think that works as well
|
Posted by GNexus, 02-26-2010, 12:51 AM |
Aw, haha. I was crossing my fingers for this one. Thanks for your responses.
|
Posted by iTom, 02-27-2010, 12:03 PM |
PHP is a server side script. It passes a static page back to the client basically.
You need something with client side functionality.
|
Posted by mattle, 03-01-2010, 08:46 AM |
I'm curious though...outside of json_encode(), are there any libraries/functions that will perform auto-generated JS functionality for PHP, along the lines of .NET technologies?
|
Add to Favourites Print this Article
Also Read
2 issues (Views: 622)