tags:

views:

45

answers:

1

I have 3 menu's like cust , quote and table Under customer,i have edit and delete.It's displaying but the list item in table isn't getting displayed

http://dpaste.com/hold/184077/

+2  A: 

The reason why it is not getting displayed is that it is hidden through inline css:

<ul id="h-menu" class="h-menu" style="display:none;">

Remove style="display:none;" and it will be shown.

Update:

Modify your function to this:

function showElement(layer){
var myLayer = document.getElementById(layer);
if(myLayer.style.display=="none"){
myLayer.style.display="block";
myLayer.backgroundPosition="top";
} else { 
myLayer.style.display="block";
}
}
Sarfraz
@Sarfraz but,when i click table it shd disappear list items.
DAFFODIL
@DAFFODIL: That is already done in your js function `showElement`
Sarfraz
@@DAFFODIL: see my updated answer please.
Sarfraz
@Sarfraz now nothing is working.
DAFFODIL
@DAFFODIL: We can't magically fix your problems for you. Go do some debugging and try to figure out the problem yourself, and if you have another specific question that you can't figure out on your own, come back and ask.
musicfreak