Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.8K
2 Posted Topics
You have to remove display: block; in <div id="supportModal" This will solve your problem, because you already use margin-top: 300px;
Try this : $(".nav li").on("click", function(){ var activeTab = $(this).find("a").attr("href"); // alert(activeTab); $('#card').find('div').css('visibility', 'hidden'); $(activeTab).css('visibility', 'visible'); if($("#card").hasClass("flipped")) { $("#card").removeClass("flipped"); } else { $("#card").addClass("flipped"); } return false; }); [For test it run this](http://jsfiddle.net/954u8w9c/)
The End.
Jad4