Das Resizing script ausgelagert in resize.js
parent
6334b4ec1f
commit
360d3fdf06
24
abmelden.php
24
abmelden.php
|
@ -80,17 +80,7 @@
|
|||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
@ -133,17 +123,7 @@
|
|||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -81,17 +81,7 @@ session_destroy();
|
|||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
11
anmelden.php
11
anmelden.php
|
@ -105,16 +105,7 @@
|
|||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -105,16 +105,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -76,17 +76,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -76,17 +76,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -233,16 +233,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
12
buecher.php
12
buecher.php
|
@ -210,17 +210,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
<!--Burger-->
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -172,16 +172,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -119,16 +119,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -76,16 +76,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
11
index.php
11
index.php
|
@ -90,16 +90,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
11
kontakt.php
11
kontakt.php
|
@ -69,16 +69,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -68,17 +68,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -68,17 +68,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -78,17 +78,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -78,17 +78,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -215,17 +215,7 @@ if(isset($_POST['submit'])){
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
<!--Burger-->
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -76,17 +76,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -172,17 +172,7 @@ function register($vorname,
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -152,17 +152,7 @@ session_start();
|
|||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -76,17 +76,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<script src="burgerIcon.js"></script>
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -232,16 +232,7 @@ TODO (optional):
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -74,17 +74,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -105,17 +105,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
|
@ -329,16 +329,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
11
uberuns.php
11
uberuns.php
|
@ -85,16 +85,7 @@
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -78,17 +78,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -78,17 +78,7 @@
|
|||
|
||||
<!--Link JS file-->
|
||||
<!--If it was small and got big, it calls the function only one time and doesn't do it all the time-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -333,16 +333,7 @@ TODO (optional, geringe Priorität):
|
|||
<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-->
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
|
@ -100,17 +100,7 @@ $db_link = mysqli_connect('localhost', 'web_b-3', 'een7Ao6s', 'bibliothek_candle
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var widthissue = false;
|
||||
window.addEventListener("resize", function(event) {
|
||||
if(window.innerWidth > 800 && widthissue) {
|
||||
widthissue = false
|
||||
unset()
|
||||
}
|
||||
else if(window.innerWidth < 800) widthissue = true;
|
||||
})
|
||||
|
||||
</script>
|
||||
<script src="resize.js"></script>
|
||||
|
||||
<nav id="activeid" class="active"></nav>
|
||||
|
||||
|
|
Loading…
Reference in New Issue