Home
Home | Blog

iHwy Development Blog

The iHwy team shares their musings about their development experiences.

jQuery listnav plugin version 1.0 released

Posted on October 2, 2008 12:14 by Jack

Today we're releasing a jQuery plugin that we created for the business directory section of a pet project site of ours, www.hwy9.com. We'd always wanted to have a javascript-based control that we could easily apply to long lists of items to allow quickly navigating around the list. Since most lists are alphabetically sorted, we came up with a plugin that allowed us to have a long list and then, by binding the list to our jQuery listnav plugin, an alphabet-based navigation bar would magically appear above the list, showing all of the letters from A to Z. Clicking on a letter dynamically filters the list, so you can, for example, click on C and the list changes on-the-fly to show you only items beginning with C.

There are lots of neat little features to the control. We've posted full information and demo's here.

A couple of the interesting features worth calling out are 1) that when you hover over a letter in the list navigation bar, a count appears above the letter, telling you how many items will appear if you click that letter 2) letters that don't have any items under them appear looking "disabled", as a visual clue that there aren't any items starting with that letter (so that the user doesn't have to find out by clicking the letter).

One of the demos (demo 4) also shows using the listnav plugin on a list that has floated items in it. In the demo, each list item looks like a box and they are arranged left-to-right, row by row. Clicking on a letter shows only the boxes that have wording that starts with that letter. This could be handy for making an address-book like layout on a web site: click the letter in the navigation to see the contacts that start with Y, for example. Each box can contain anything you want it to: the listnav control pays attention only to the first letter of the first text in the list item.

The control has been optimized for speed. It's able to handle binding to lists with hundreds of items in them very quickly. Any jQuery selector can be used to bind to your lists, so you can bind it to multiple lists on a single page using just a CSS class name, if you want to. It works with UL and OL (numbered) lists. If you use an OL, the numbers restart themselves for each set of list items that appear (ie, if you click on 'C' and that has 5 items, they will appear numbered from 1-5).

We hope you enjoy the jQuery listnav plugin. We enjoyed creating it.

 


Comments

October 2. 2008 13:21

pingback

Pingback from blog.michalsanger.com

jQuery listnav plugin | MichaL Sänger

blog.michalsanger.com

October 6. 2008 16:59

pingback

Pingback from skfox.com

Keeping an eye on jQuery [October 2008] | SKFox

skfox.com

October 14. 2008 17:44

knowlimit

Is there a way to use this with a two column list, such as one automatically created with javascript?

I have incorporated the jQuery listnav, but would like to use it with a script that automatically generates columns like the one located at: http://chriscassell.net/projects/js/layeredfudge/

knowlimit United States

February 12. 2009 14:16

shightouch

Excellent plugin works great with Firefox but couldnt get it to work with ie. Try it with both firefox and ie.  http://www.posgeorgia.com/indexwithjquery.html

shightouch United States

June 18. 2009 01:47

SEO

JQuery is good Plugin.It has so many good features.I am also working with this plugin...

SEO United States

June 23. 2009 05:16

tukang nggame

that's right, this very good plugin, thanks for nice post

tukang nggame United States

July 7. 2009 05:30

club penguin cheats

I have incorporated the jQuery listnav, but would like to use it with a script that automatically generates columns like the one located at: http://chriscassell.net/projects/js/layeredfudge/

club penguin cheats United States

July 26. 2009 23:19

seo

Nice article. i’m using jqgrid with asp.net in a project right now and it works great. there are some tweaks you have to do to the serialization/deserialization of json for it to work properly with .net, but everything else is smooth (and faster than flexigrid).

seo United States

July 30. 2009 23:44

online slot machines gambling games

I recently found your plugin and I set it up EXACTLY like you said but for some reason it doesn't want to work.

online slot machines gambling games United States

August 30. 2009 16:47

مركز تحميل

good

مركز تحميل Saudi Arabia

August 30. 2009 16:49

توبيكات

good

توبيكات Saudi Arabia

September 9. 2009 12:37

Cosmetic surgery Philadelphia

It’s a good idea that you came up with something like a jQuery plugin.  Speed in the navigation is very important especially when you are on a look up for a certain thing or topic. A very helpful tool, too, that you provided for a detailed information about this and the demo’s are a healthy way for the readers to fully understand  how proper applications of it should take place.

Cosmetic surgery Philadelphia United States

September 9. 2009 22:44

free poker

We are a group of volunteers and starting a new initiative in a community. Your blog provided us valuable information to work on. You have done a marvellous job!

free poker United States

September 9. 2009 23:12

free poker

This is a Good development blog. Thanks for great post, Where else could anyone get that kind of information in such a perfect way of presentation.
Regards,

free poker United States

September 12. 2009 00:32

Payday Loans


Your blog is a right tool that can put you on the front foot! Thanks ----

Payday Loans United States

September 14. 2009 00:01

Polywood lawn furniture

Hi nice site design


Regards

Mainn

Polywood lawn furniture United States

September 14. 2009 00:30

Interpreters London

I added your post to my college Report


Regards

Green

Interpreters London United States

September 14. 2009 04:36

Travel India


You pointed the valuable facts in your given info. Always be that…………thanks

Travel India United States

September 14. 2009 04:43

seattle child custody lawyers

When is the next post comming on this topic.


Regards

Marks

seattle child custody lawyers United States

September 14. 2009 23:11

network ip security cameras

Hi nice site design


Regards

Mainn

network ip security cameras United States

September 14. 2009 23:47

luxury hotels san miguel

I posted your article to my myspace profile.


Regards

Evans

luxury hotels san miguel United States

September 16. 2009 23:39

emo

It’s a good idea that you came up with something like a jQuery plugin.  Speed in the navigation is very important especially when you are on a look up for a certain thing or topic. A very helpful tool, too, that you provided for a detailed information about this and the demo’s are a healthy way for the readers to fully understand  how proper applications of it should take place.

Emo

emo United States

May 20. 2010 11:38

pingback

Pingback from 337.unlockiphone30.net

Suzuki Grand Vitara Price Philippines Rear Wheel Drive, 2008 Reviews 2006 Suzuki Grand Vitara

337.unlockiphone30.net

August 15. 2010 10:34

pingback

Pingback from websiteofthestate.interactiveinfonet.info

Web site of the state - York state - State of georgia official web site

websiteofthestate.interactiveinfonet.info

Comments are closed