path finder liferay | : | 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 |
|
|
|
|
| |
|
|
|
|
|
|
|
| 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 |
|
|
|
|
|
|
path finder liferay | : | someone please reply to this post |
|
|
|
|
|
|
Oliver Bayer | : | Hi, |
|
|
|
|
|
|
|
| not sure if thats the case but you shouldn't use the same id (#naavigation) in more than one portlet. The css id has to be unique. |
|
|
|
|
|
|
|
| HTH Oli |
|
|
|
|
|
|
path finder liferay | : | Thanks for your reply Bayer |
|
|
|
|
| You are right id has to be unique but how do i have to define in our custom theme java script
if i define my id in this way |
|
|
|
|
| |
|
|
|
|
|
|
|
| then how to define in javascript of our themes i've tried in this way |
|
|
|
|
| |
|
|
|
|
|
|
|
| its not working |
|
|
|
|
|
|
|
| somebody please help me |
|
|
|
|
|
|
Mazhar Anwar | : | Hi, |
|
|
|
|
| Can you put your accordian code in portlet jsp itself above you div id="accordionA"? |
|
|
|
|
| |
|
|
|
|
| you can use 2 different Ids in that case, different for different portlets. |
|
|
|
|
| HTH,
Regards,
Mazhar |
No comments:
Post a Comment