[jQuery] Re: listnav related - DL
Thanks, Jack. When it is ready I will be ready to implement it. I have no other deadline than that so work at your own pace.
[jQuery] Re: listnav related - DL
I think I have a way to make this work. Will mess with it some time in the next few days and let you know. I'm prepping the new release (for probably early next week). Thanks, Jack MauiMan2 wrote: So, the presence of the DD is what makes it difficult?
[jQuery] Re: listnav related - DL
So, the presence of the DD is what makes it difficult?
[jQuery] Re: listnav related - DL
I started working on a version that will work on any child elements. For example: A item B item Some stuff under the B item C item That would result in nav items for A, B and C, but would not handle a case, because is not nested inside of (ie: the 's are also child elements of the main div). I'm not sure if the "any tag" change will make it into this rev, still haven't decided, but I'll keep thinking about a handler for 's. I can appreciate the need for it. Thanks, Jack MauiMan2 wrote: Yes, you've got the right idea. I have the very rudimentary beginnings of my glossary here: http://www.usmexfood.com/ And the code for it so far: Glossary Burrito A flour tortilla stuffed with beans, meat, cheese and other fillings and folded and wrapped compactly HabaƱero A particularly spicy chili pepper
[jQuery] Re: listnav related - DL
Yes, you've got the right idea. I have the very rudimentary beginnings of my glossary here: http://www.usmexfood.com/ And the code for it so far: Glossary Burrito A flour tortilla stuffed with beans, meat, cheese and other fillings and folded and wrapped compactly HabaƱero A particularly spicy chili pepper
[jQuery] Re: listnav related - DL
Hi, Paste in a snippet of HTML (for your DT/DD content) and I'll see what I can do. I'm working on a new rev of listnav this week. Can't make any promises, but having a snippet will ensure that as I think through this release I'll be keeping in mind exactly what you're looking for. It sounds like you'd just want the DT tags to be treated like the LI tags are in a UL/OL and have the DD content just get displayed as is? I'm not sure what you mean about the X/HTML elements. ? Thanks, Jack MauiMan2 wrote: Basically it's going to be for a glossary. It'll be a food-related one with a lot of terms related to a particular kind of ethnic food and there'll be enough terms (and therefore numerous DT/DD pairs) that breaking it down would be very helpful but at the same time it only needs to be contained within one DL element and it'd be great to be able to use the listnav plugin for this job. I guess I want it to look most like your demo #1 but instead of the list items actually linking to something they would just have their definition "definition" below them and then the next definition term is after that. I can take care of the styling. Let me know if you need more info. And thanks in advance for any help. BTW, I like that you know that it's okay to capitalize mention of X/ HTML elements when they are not within an XHTML document.
[jQuery] Re: listnav related - DL
Basically it's going to be for a glossary. It'll be a food-related one with a lot of terms related to a particular kind of ethnic food and there'll be enough terms (and therefore numerous DT/DD pairs) that breaking it down would be very helpful but at the same time it only needs to be contained within one DL element and it'd be great to be able to use the listnav plugin for this job. I guess I want it to look most like your demo #1 but instead of the list items actually linking to something they would just have their definition "definition" below them and then the next definition term is after that. I can take care of the styling. Let me know if you need more info. And thanks in advance for any help. BTW, I like that you know that it's okay to capitalize mention of X/ HTML elements when they are not within an XHTML document.
[jQuery] Re: listnav related - DL
Hi, Yes, the plugin is geared towards UL and OL lists and relies on a LI selector to work. You have that correct. Can you give me an example of what you'd like to do with a definition list (HTML sample and description of what you'd want the end result to be like)? Thanks, Jack MauiMan2 wrote: I have a need for the listnav plugin to work for definition lists. http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx Since the plugin breaks the lists up alphabetically it seems like it would make the most sense for definition lists but the "Features" section only mentions it working for ordered and unordered lists.