'header.html' hinzufügen
This commit is contained in:
parent
38e04b2abf
commit
95467c0f3b
1 changed files with 21 additions and 0 deletions
21
header.html
Normal file
21
header.html
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
$('.fadein img:gt(0)').hide();
|
||||||
|
|
||||||
|
setInterval(function () {
|
||||||
|
$('.fadein :first-child').fadeOut(2000)
|
||||||
|
.next('img')
|
||||||
|
.fadeIn(2000)
|
||||||
|
.end()
|
||||||
|
.appendTo('.fadein');
|
||||||
|
}, 6000); // 4 seconds
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div id="banner" class="fadein" style="display: ruby;">
|
||||||
|
<img class="slide" style="width: 100%;position: absolute" src="url">
|
||||||
|
<img class="slide" style="width: 100%;position: absolute" src="url">
|
||||||
|
<img class="slide" style="width: 100%;position: absolute" src="url">
|
||||||
|
</div>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue