Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Java script
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 2-Jan-13 18:24pm
Comments
Turbo_23 at 2-Jan-13 23:30pm
   
hi, have u written any logic to handle spacebar & backspace key functionality or it is by default.
Member 9305115 at 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 at 2-Jan-13 23:48pm
   
Yes, Exactly.
Sergey Alexandrovich Kryukov at 2-Jan-13 23:33pm
   
Who told you that you need to change "keyboard code"? What is that, by the way? :-)
—SA
Surendra Tarai at 2-Jan-13 23:48pm
   
This is not possible
Sergey Alexandrovich Kryukov at 3-Jan-13 0:02am
   
Who are you telling his to? :-)
—SA
Surendra Tarai at 3-Jan-13 0:08am
   
24 Cool
Surendra Tarai at 3-Jan-13 0:04am
   
OK cool Done
Surendra Tarai at 3-Jan-13 0:07am
   
ok
Surendra Tarai at 2-Jan-13 23:42pm
   
Is this related to any technical point ??
Member 9305115 at 2-Jan-13 23:45pm
   
ya..
Member 9305115 at 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?
Member 9305115 at 2-Jan-13 23:44pm
   
defult m getting spacebar and backspce keys to move next slide and previous slide now i want to change it to arrow keys

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
Comments
Member 9305115 at 2-Jan-13 23:41pm
   
power point files inside iframe
<iframe id="myframe" src="myppt.ppt"></iframe>
Christian Graus at 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.
Member 9305115 at 2-Jan-13 23:46pm
   
is dr any java script to change the key code?
Christian Graus at 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 ?'.
Member 9305115 at 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?
Christian Graus at 2-Jan-13 23:52pm
   
I guess you don't speak english very well. Read my answers again, I will not reply again. No, no, no, NO, NO, NO, NO, NO, NO, NO !!!!
Abhishek Pant at 3-Jan-13 0:42am
   
:laugh: he is a stubborn developer

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

  Print Answers RSS
0 OriginalGriff 6,569
1 Sergey Alexandrovich Kryukov 6,168
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 2 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100