hello every one,
Jquery accordion is working for only one portlet at a time
i've included my custom jquery accordion definition inside the theme and deployed it as shown below
1
2jQuery(
3 function() {
4 if (Liferay.Browser.isIe() && Liferay.Browser.getMajorVersion() < 7) {
5 jQuery('#navigation > ul > li').hover(
6 function(event) {
7 jQuery(this).addClass('hover');
8 },
9 function(event) {
10 jQuery(this).removeClass('hover');
11 }
12 );
13 }
14
15 [b][i]
16 jQuery("#accordion").accordion({
17 header:'div.slide',
18 alwaysOpen: false,
19 active:false,
20 autoheight: false
21 });
22[/i][/b]
23 }
24);
Its working fine for one portlet but not working for other portlets when i want to use same accordion for other portlets
i've followed same steps as i followed for first portlets like i div id and also slide class in other portlet also
Please help me to get out of this issue
regards,
Path Finder