Adding content to jQuery mmenu - but how?
Hey Guys,
and first off all - i'm sorry for this (maybe) dumb question but i can't figure out how to add a second page to
jQuery mmenu . I want to use that plugin for a mobile application but i'm not able to change the content when i click on one of those links.
The Plugin works fine but my content is not changing. I already found an answer from 2012:
http://jsfiddle.net/hQ7y5/
So that looks but but i'm not able to implement this so, that it is working together with the plugin. The Plugin-Code looks like this:
- <body>
<div id="page">
<div class="header">
<a href="#menu"></a>
Demo
</div>
<div class="content">
<p><strong>This is a demo.</strong><br />
Click the menu icon to open the menu.</p>
<p>For more demos, a tutorial, documentation and support, please visit <a href="http://mmenu.frebsite.nl" target="_blank">mmenu.frebsite.nl</a></p>
</div>
<nav id="menu">
<ul>
<li id="link1"><a href="#">Home</a></li>
<li id="link2"><a href="#about">About us</a>
<ul>
<li id="link3"><a href="#about/history">History</a></li>
<li><a href="#about/team">The team</a>
<ul>
<li><a href="#about/team/management">Management</a></li>
<li><a href="#about/team/sales">Sales</a></li>
<li><a href="#about/team/development">Development</a></li>
</ul>
</li>
<li><a href="#about/address">Our address</a></li>
</ul>
</li>
<li><a href="#" id="link1">Contact</a></li>
</ul>
</nav>
</div>
</body>
A Demo from that Plugin can be found here: http://mmenu.frebsite.nl/demo/index.html?demo=menu-contacts but that also doesn't help me.
Hopefully someone here can tell me, how to change the div content to another container i added under that code.