From 9f237f1ff8326de74e4640c460f095cbff6aa7f3 Mon Sep 17 00:00:00 2001 From: tekkub Date: Fri, 16 Oct 2009 17:25:41 -0600 Subject: Use jQuery UI's icon classes --- js/main.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index 248d20d..863e5b2 100644 --- a/js/main.js +++ b/js/main.js @@ -1,3 +1,6 @@ $(function(){ - $(".sidebar").accordion({ header: 'h3', autoHeight: false, navigation: true, navigationFilter: function() {if (typeof main_category != "undefined") {return this.id == main_category}} }); + $(".sidebar").accordion({ + header: 'h3', autoHeight: false, + icons: {'header': 'ui-icon-triangle-expand', 'headerSelected': 'ui-icon-triangle-collapse'}, + navigation: true, navigationFilter: function() {if (typeof main_category != "undefined") {return this.id == main_category}} }); }) \ No newline at end of file -- cgit v1.3.1