Hotkeys Plugin
Hotkeys plugin for Mango Blog 1.3+ to add a hotkeys to scroll the the previous and next posts using jQuery. jQuery is not an included file with this plugin. I recommend installing the jQuery plugin for Mango Blog.
- Plugin version:
- 1.0
- Last Updated:
- June 7, 2009
- Requires:
- Mango Blog 1.3+
- Auto-install URL:
- http://freerksen.googlecode.com/files/mango_hotkeys.zip
This plugin does not go the prev/next post inside of Mango Blog. It does to the prev/next post this is displaying on the current page. For example, if Mango Blog is installed in the root of your domain and the user goes to /index.cfm, the user could use this plugin to scroll back and forth through the posts that were displaying on the home page.
This plugin came about when a friend of mine saw similar functionality on a different site. A WordPress site actually. He thought it was just about the most amazing thing ever. So I had to make one for Mango Blog.
Through the settings section of the admin, you will be able to change the keys to press to go forward and backword as well as the speed and class selector. Here is the tough part. You need to know a little about your skin and about jQuery to set the class selector. Most Mango Blog skins use a class selector of “post” or “entry”. There is at least one that doesn’t use any class selectors. In that case it would be best to enter the class of the post title. If the default value of “.post” doesn’t work, try “.entry”. If that still doesn’t work, I’d be happy to help you figure it out.
This site is currently using the Hotkeys plugin. For an example, go to here and press the up and down keys.
History:
090607 – Plugin started and completed. Initial release.
090607 – Minor update to add the period as part of the form value because a couple skins aren’t using class selectors for the div that wraps the post content.
There are no comments