38 lines
1.3 KiB
HTML
38 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Infrastruttura ISTI</title>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="bootstrap-4.3.1-dist/css/bootstrap.min.css">
|
|
<script src="jquery-3.4.1.min.js"></script>
|
|
|
|
<script src="bootstrap-4.3.1-dist/js/bootstrap.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
<div id="nav"></div>
|
|
<div class="container">
|
|
<h3>Infrastruttura Servizi ISTI</h3>
|
|
<p>In this example, the navigation bar is hidden on small screens and replaced by a button in the top right corner (try to re-size this window).</p>
|
|
<p>Only when the button is clicked, the navigation bar will be displayed.</p>
|
|
<p>Tip: You can also remove the .navbar-expand-md class to ALWAYS hide navbar links and display the toggler button.</p>
|
|
</div>
|
|
<script>
|
|
jQuery('h4.more').click(
|
|
function() {
|
|
jQuery(this).toggleClass('closed').toggleClass('opened');
|
|
jQuery(this).next().toggle();
|
|
jQuery(this).next().next().toggle();
|
|
}
|
|
);
|
|
jQuery(document).ready(function(){
|
|
jQuery('#nav').load('nav.html');
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|