How to dynamically set style of <DIV> tag in a JSF Page. IF/ELSE ....
843844Jul 30 2007 — edited Jul 31 2007Hi,
Can someone please tell me how to handle this. I have a drop down vertical menu. There are 4 top level menus that when clicked drop down and shows the sub-menus.
Now when a user clicks on any of the menu the sub-menus shows and after clicking on the sub-menu I am showing the content on the left side of the window.
Now I need to keepshowing the selected sub-menus. Currently it is set to <DIV style="display:none"> how do I set the style of the DIV in my JSF page dynamically.
Basically needs to have <DIV style="display:inline"> whenever a users clicks on the sub-menu. How can I set the style of the DIV dynamically. Is there any IF/ELSE I can use.
Thanks