[Solved] jQuery if element is visible, what am I doing wrong?

You don’t need that if at all; and you are not using it right as described in the answer of @SLaks. Why won’t you assign functions to an invisible element? I guess we should do that, so I think this is what you want: http://jsfiddle.net/balintbako/yuAhb/1/ $(‘button.nav-mobile-switch’).click(function () { $(this).hide(); $(‘ul.site-nav.actual-navigation’).show(); return false; }); $(document).click(function () … Read more

[Solved] Textfield values set to empty when coming back from previous view controller [closed]

When you push back to the origin viewController, It’s better to replace using “push” Segue by “popViewController” method . It’s also good using data consistent strategy. And the reason: You should consider the viewController’s lifecycle. When you push back to the origin viewController, using “push” Segue makes the origin viewController’s “viewDidLoad” method is called again. … Read more

[Solved] How do I make a header above my navigation bar?

I have Changed Your Code A bit and it’s working fine Now. tested in Chrome HTML <body> <header role=”banner” id=”top”> <div id=”header-text”> <h1><strong id=”top-title”>Atlas Land Office (text will change)</strong></h1> <p id=”slogan”>Keeping lands fresh.</p> </div> <div id=”menu”> <ul role=”navigation” class=”banner”> <li><a href=”#home”>Home</a> </li> <li><a href=”#land”>Land Surveying</a></li> <li id=”nav-space-left”><a href=”#civil”>Civil Engineering</a></li> <li id=”nav-home”><a href=”#top” title=”Back to top”><img … Read more