Navbar renders multiple times if it is defined within different pages but inside one HTML file
Hi guys,
I'm currently having some trouble with the navbar. What I'd like to do is to use a navbar with three tabs in my application. Therefore I defined three pages inside on HTML file and added the navbar markup so every page, giving it the same data-id. The result of this is, that the navbar is rendered three times on the screen! I guess that happens since I define the navbar multiple times within one HTML file. But shouldn't this be possible?
See my code on: http://jsfiddle.net/TM569/1/
Does anybody have an idea how to handle this if I am unable to split the three pages into three different HTML files? Please don't tell me it's simply impossible ;)
THX for any idea, hint or advice!