Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi i am using ppt in my web page to move next slide i am using space bar key for previous slide backspace Key from key board.
So now i wants to change to arrow key to move next slide and back to previous slide
Please help me how can i achieve this
Thanks
Regards
Pradeep
Posted
Comments
[no name] 2-Jan-13 23:30pm    
hi, have u written any logic to handle spacebar & backspace key functionality or it is by default.
Pradeepkumar patil sonu 2-Jan-13 23:39pm    
no default it is there for sapcebar and backspace..but now i want it to change to up and down arrow marks keys.....
Surendra Tarai 2-Jan-13 23:48pm    
Yes, Exactly.
Sergey Alexandrovich Kryukov 2-Jan-13 23:33pm    
Who told you that you need to change "keyboard code"? What is that, by the way? :-)
—SA
Surendra Tarai 2-Jan-13 23:48pm    
This is not possible

1 solution

You are using powerpoint as a control. Your web code is not what's doing anything, so I don't see, unless the object you're using allows it, how you could do this
 
Share this answer
 
Comments
Pradeepkumar patil sonu 2-Jan-13 23:41pm    
power point files inside iframe
<iframe id="myframe" src="myppt.ppt"></iframe>
Christian Graus 2-Jan-13 23:43pm    
Exactly. So what do you expect to do ? Your entire web page ( the inside of the iframe ) is powerpoint. You have literally no code in that frame to do anything.
Pradeepkumar patil sonu 2-Jan-13 23:46pm    
is dr any java script to change the key code?
Christian Graus 2-Jan-13 23:48pm    
Please read my answers again. Please try to understand. You have NOTHING running in the frame, let alone something that sits between the keyboard and the browser, or powerpoint. Therefore, the answer is something along the lines of 'what on earth do you expect to do to make this work ?'.
Pradeepkumar patil sonu 2-Jan-13 23:50pm    
power point files inside iframe <iframe id="myframe" src="myppt.ppt"></iframe> this iframe loads in my web page alone with ppt.. now to move to next slide i need to press spacebar key and for previous slide backspace key.. i wants to change keys to up and down arrow keys how can i achieve this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900