Fix buzzword

This commit is contained in:
Fundor333
2024-06-18 23:16:35 +02:00
parent 775d4b7feb
commit f1e9380b0a
3 changed files with 18 additions and 35 deletions

View File

@@ -1,17 +0,0 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(function () {
count = 0;
wordsArray = ["Big data", "Blockchain", "Cloud", "Deep learning", "DevOps",
"Machine Learning", "Microservices", "Real-time", "Scalability", "Think outside the box", "Web 2.0",
"Wev 3.0", "Buzzword",
];
setInterval(function () {
count++;
$(".buzzword").fadeOut(400, function () {
$(this).text(wordsArray[count % wordsArray.length]).fadeIn(800);
});
}, 4000);
});
</script>

View File

@@ -1,2 +1,19 @@
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
$(function () {
count = 0;
wordsArray = ["Big data", "Blockchain", "Cloud", "Deep learning", "DevOps",
"Machine Learning", "Microservices", "Real-time", "Scalability", "Think outside the box", "Web 2.0", "Wev 3.0", "Buzzword",
];
setInterval(function () {
count++;
$(".buzzword").fadeOut(400, function () {
$(this).text(wordsArray[count % wordsArray.length]).fadeIn(800);
});
}, 4000);
});
</script>