@lstangier wrote:
Hello,
I am using a CSS/JS framework to style my application (https://materializecss.com). This framework provides the feature of a tabbed navbar. It requires however, that the links to the pages in the tabs are put in
<a>
tags because they are childs of the<li>
tag. I would like to know if it is possible to achive the non-reloading content refresh that a element achieves by using an<a>
tag. Maybe someone here has already done it.For reference, this is the code the framework provides as an example:
<div class="nav-wrapper"> <a href="#" class="brand-logo">Logo</a> <a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a> <ul id="nav-mobile" class="right hide-on-med-and-down"> <li><a href="sass.html">Sass</a></li> <li><a href="badges.html">Components</a></li> <li><a href="collapsible.html">JavaScript</a></li> </ul> </div>
I would like to replace the
<a>
tags with links reffering to other pages in my dashboard and when the user clicks on them the page should not reload.Thanks in advance.
Posts: 3
Participants: 2