[jQuery] Re: collapsible list

2009-02-02 Thread Stephan Veigl
Hi, that's a feature of the event bubbling in jQuery 1.3 You need to call stopPropagation(). $('li:not(:has(ul))').css({ cursor: 'default', 'list-style-image': 'none' }) .click(function(event) { event.stopPropagation(); return true;

[jQuery] Re: collapsible list

2009-02-02 Thread Duncan
Hi Stephan Thanks for that it now works like a charm Duncan On Feb 2, 9:43 pm, Stephan Veigl stephan.ve...@gmail.com wrote: Hi, that's a feature of the event bubbling in jQuery 1.3 You need to call stopPropagation(). $('li:not(:has(ul))').css({          cursor: 'default',

[jQuery] Re: Collapsible List

2007-06-29 Thread Scott Sauyet
aDeviKreates wrote: Unfortunately, I don't have a live site to look at. This is an intranet site right now. Is there any other information I can provide that might help? I can't tell enough from the code supplied. Probably the best bet would be to create as simplified a test version of

[jQuery] Re: Collapsible List

2007-06-29 Thread Sean Catchpole
On 6/28/07, aDeviKreates [EMAIL PROTECTED] wrote: $(document).ready(function() { $('div.demo-show div').hide(); $('div.demo-show h3').click(function() { $(this).next().slideToggle('fast'); });

[jQuery] Re: Collapsible List

2007-06-28 Thread Scott Sauyet
aDeviKreates wrote: I can get this to work halfway, showing the group of Products and when I click on the Product it does display the list of Categories for that Product. However, I am stuck here. I cannot get it to when I click on the Category this list of items is displayed. Do you have a

[jQuery] Re: Collapsible List

2007-06-28 Thread aDeviKreates
Unfortunately, I don't have a live site to look at. This is an intranet site right now. Is there any other information I can provide that might help? On Jun 28, 10:28 am, Scott Sauyet [EMAIL PROTECTED] wrote: aDeviKreates wrote: I can get this to work halfway, showing the group of Products