Keyword

New Key Shortcuts!

  • wireless
  • wireless's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago #4294 by wireless
New Key Shortcuts! was created by wireless
I transformed the SIGP Navigation Buttons (Next, Previous, Close) into German. Now I have to change the Keyboard Shortcuts (from N to V for example). How can I modify this?
Greets

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 10 months ago #4295 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: New Key Shortcuts!
Hi there!

At SIG open the file
mambots/content/plugin_jw_sig/slimbox.js
and find the code
keyboardListener: function(event){
		switch (event.keyCode){
			case 27: case 88: case 67: this.close(); break;
			case 37: case 80: this.previous(); break;	
			case 39: case 78: this.next();
		}
}

The cases 37 and 80 are for the previous
and the 39 and 78 for the next

You can change them, checked out this site: www.ryancooper.com/resources/keycode.asp

I hope I have been helpfull!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • wireless
  • wireless's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago - 16 years 10 months ago #4296 by wireless
Replied by wireless on topic Re: New Key Shortcuts!
Ok! Well, it works! THX A LOT

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum