Hi can anyone help? I've just downloaded the jQuery Collapsor demo (http:// plugins.jquery.com/project/collapsor) for use on a navigation system.
I'm still a newbie with js and was wondering if anyone can point me in the right direction of how to add/remove a class to the trigger element (in this case a ul li). Basically in it's unopened state, i want to display a triangle pointing th the side, and then once clicked on, i want to display a triangle pointing downwards - i just need to be able to add/remove a class on the li as the background images will be controlled via the CSS. Any help would be greatly appreciated. The script i have at the moment is <script type="text/javascript"> $((function(){ $('ul li a').collapsor(); })); </script> Many thanks