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
+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
2010-04-15 08:53:05
@Sarfraz but,when i click table it shd disappear list items.
DAFFODIL
2010-04-15 08:59:54
@DAFFODIL: That is already done in your js function `showElement`
Sarfraz
2010-04-15 09:02:05
@@DAFFODIL: see my updated answer please.
Sarfraz
2010-04-15 09:04:31
@Sarfraz now nothing is working.
DAFFODIL
2010-04-15 09:09:30
@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
2010-04-16 07:35:48