notwendiges_laden.js eingebunden

TODO: Mögliches Verhalten bei falschen Eingaben
TODO: Monat und Tag sind unnötig
master
Jasmin Weise 2023-06-03 14:49:44 +02:00
parent 237f887f69
commit b77bf37c44
1 changed files with 30 additions and 61 deletions

View File

@ -8,33 +8,17 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Candle Bibliothek | Erweiterte Suche</title> <title>Candle Bibliothek | Erweiterte Suche</title>
<link rel="icon" href="pictures/candle.png"> <link rel="icon" href="pictures/candle.png">
<script src="notwendiges_laden.js" defer></script>
</head> </head>
<body> <body>
<header> <header id="header"></header>
<h1 class="kopf" >
<br><br>
Bibliothek <a href="index.html" id="bildID"> <img id="CandleID" src="pictures/candle.png" alt="Bild von einer Kerze"
width="200" height="192"/> </a>
<br><br> Candle
</h1>
<div>
<a id="uberuns" href="uberuns.html">Über Uns</a>
<a id="buecher" href="buecher.html">Bücher</a>
<a id="meinebuecher" href="anmelden_meinebuecher.php">Meine Bücher</a>
<a id="abmelden" href="abmelden.php">Abmelden</a>
<form action="">
<input class="suchleiste" type="search" placeholder="Suche..." >
<button type="submit" id="buttonID" class="searchButton"><i class="fa fa-search"></i> </button>
</form>
<a id="erweitertesuche" href="erweitertesuche.html">Erweiterte Suche</a>
<a href="anmelden.php" id="warenKorbID"> <img id="shoppingCard" src="pictures/einkaufswagen.png" alt="Bild von einem Wagen"
width="50" height="50"/> </a>
</div>
</header>
<div class="hauptcontainer"> <div class="hauptcontainer">
<span id="titelerweitertesuche" > Erweiterte Suche </span> <br><br> <span id="titelerweitertesuche" > Erweiterte Suche </span> <br><br>
<form action="suchergebnisse_erweiterte_suche.php" method="get"> <form action="suchergebnisse.php" method="get">
<input type="hidden" name="searchType" value="extended">
<select id="dropdown1" name="dropdown1" class="buchtitel"> <select id="dropdown1" name="dropdown1" class="buchtitel">
<option selected="selected">Titel</option> <option selected="selected">Titel</option>
<option>Autor</option> <option>Autor</option>
@ -70,7 +54,8 @@
</select> </select>
<input type="search" name="search3" class="stichwörteroptions"> <input type="search" name="search3" class="stichwörteroptions">
<span id="weiteresuchkriterien" style> Weitere Suchkriterien</span><br><br></p> <span id="weiteresuchkriterien" style>
Weitere Suchkriterien</span><br><br></p>
<span class="jahrvon">Jahr von </span> <span class="jahrvon">Jahr von </span>
<input type="date" class="anfangsdatum" name="Buchdatum1"> <input type="date" class="anfangsdatum" name="Buchdatum1">
<span class="bis">bis </span> <span class="bis">bis </span>
@ -84,7 +69,8 @@
<option>Arabisch</option> <option>Arabisch</option>
</select> </select>
<span class="verfügbarkeit">Verfügbarkeit</span> <span class="verfügbarkeit">Verfügbarkeit</span>
<input type="checkbox" class="checkbox" name="status" value="verfügbareBücher"> <input type="checkbox" class="checkbox"
name="status" value="verfügbareBücher">
<span class="kommentar">verfügbare Bücher</span> <span class="kommentar">verfügbare Bücher</span>
<input type="submit" id="suchen" value="Suchen"> <input type="submit" id="suchen" value="Suchen">
@ -92,43 +78,26 @@
</form> </form>
</div> </div>
<!------------------------------------------------------------------------->
<!--Link JS file--> <!--Link JS file-->
<script src="burgerIcon.js"></script> <script src="burgerIcon.js"></script>
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time--> <!--If it was small and got big,
<script> it calls the function only one time and doesn't do it all the time-->
var widthissue = false; <script>
window.addEventListener("resize", function(event) { var widthissue = false;
if(window.innerWidth > 800 && widthissue) { window.addEventListener("resize", function(event) {
widthissue = false if(window.innerWidth > 800 && widthissue) {
unset() widthissue = false
} unset()
else if(window.innerWidth < 800) widthissue = true; }
}) else if(window.innerWidth < 800) widthissue = true;
})
</script> </script>
<nav id="activeid" class="active"> <nav id="activeid" class="active"></nav>
<div class="navLinks">
<input class="nav-toggleclass"id="nav-toggle" type="checkbox" onclick="openNav()";> <footer id="footer" class="fuss" ></footer>
<label for="nav-toggle" class="icon-burger" >
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</label>
</div>
</nav>
<footer class="fuss" >
<div>
<a id="impressum" href="impressum.html">Impressum</a>
<a id="kontakt" href="kontakt.html">Kontakt</a>
<a id="datenschutz" href="datenschutz.html">Datenschutz</a>
</div>
</footer>
</body>
</body>
</html> </html>