114 lines
2.8 KiB
HTML
114 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>JU & MI Startseite</title>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<meta name="description" content="" />
|
|
<meta name="author" content="" />
|
|
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<script src="../bootstrap/node_modules/@popperjs/core/dist/umd/popper.min.js"></script>
|
|
<script src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
|
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
|
<link href="css/styles.css" rel="stylesheet" />
|
|
<!-- icons in nav-->
|
|
<script src="js/all.js" crossorigin="anonymous"></script>
|
|
<script src="../jquery/jquery-3.4.1.min.js"></script>
|
|
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
@media only screen and (min-width: 769px) {
|
|
#div2 {
|
|
overflow: hidden;
|
|
background-color: #333;
|
|
height: 100%;
|
|
float: right !important;
|
|
width: 20%;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
#div2 {
|
|
height: 100px;
|
|
width: 100%;
|
|
position:fixed;
|
|
bottom:0;
|
|
background-color:gray;
|
|
}
|
|
}
|
|
|
|
.navbar a {
|
|
float: left;
|
|
display: block;
|
|
color: #f2f2f2;
|
|
text-align: center;
|
|
padding: 14px 16px;
|
|
text-decoration: none;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.navbar a:hover {
|
|
background: #f1f1f1;
|
|
color: black;
|
|
}
|
|
|
|
.navbar a.active {
|
|
background-color: #04AA6D;
|
|
color: white;
|
|
}
|
|
|
|
.main {
|
|
padding: 16px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
</style>
|
|
|
|
{literal}
|
|
<script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
|
|
$("#div2").resizable({
|
|
alsoResize: "#main"
|
|
});
|
|
|
|
})
|
|
</script>
|
|
</script>
|
|
{/literal}
|
|
</head>
|
|
<body>
|
|
<button class="btn btn-primary" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasScrolling" aria-controls="offcanvasScrolling">Toggle bottom offcanvas</button>
|
|
|
|
<div class="offcanvas offcanvas-bottom" data-bs-scroll="true" data-bs-backdrop="false" tabindex="-1" id="offcanvasScrolling" aria-labelledby="offcanvasScrollingLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="offcanvasScrollingLabel">Colored with scrolling</h5>
|
|
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<p>Try scrolling the rest of the page to see this option in action.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="div2">
|
|
<a href="#home" class="active">Home</a>
|
|
<a href="#news">News</a>
|
|
<a href="#contact">Contact</a>
|
|
</div>
|
|
|
|
<div class="main">
|
|
<h1>Bottom Navigation Bar</h1>
|
|
<p>Some text some text some text.</p>
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
</html> |