The function Show() works the first time and doesn't work the second time .
Also the click function doesn't work at all in firefox .
What am trying to accomplish with this is that on click of the #showmenu, hide the other showmenu2 which is a picture and show another div which was hidden before with CSS display:none then on click of PANEL-CLOSE, it shows the showmenu2 again and hide the other
$(document).ready(function () {
$('#jshowmenu').click(function () {
$('.jbox').show("slide");
// $('.jbox').css("display", "inline-block");
$('#jshowmenu2').hide();
});
$('.panel-close2').click(function () {
$('#jshowmenu2').toggle("slide");
$('.jbox').hide();
});
$('#jshowmenu2').click(function () {
// $('.jbox2').show("slide");
// $('.jbox2').css("display","block");
if ($('#jshowmenu').is(":visible"))
{
$('#jshowmenu').hide();
}
$('.jbox2').show("slide");
// $('.jbox2').toggle("slide");
});
$('.panel-close').click(function () {
$('#jshowmenu').toggle("slide");
$('.jbox2').hide();
});
});