Reprototyping of scoreboard without bootstrap carousel
This commit is contained in:
@@ -3,6 +3,20 @@
|
||||
© 2024 - CSCI 3308 Group 6
|
||||
</p>
|
||||
|
||||
<!-- TODO: Add the <script><script /> tag to include bootstrap javascript -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
<!-- Include Bootstrap JavaScript -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$(".carousel-control-prev").click(function() {
|
||||
$("#carouselExampleControls").carousel("prev");
|
||||
});
|
||||
|
||||
$(".carousel-control-next").click(function() {
|
||||
$("#carouselExampleControls").carousel("next");
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user