Update basicanimations.js

This commit is contained in:
simplePCBuilding
2022-11-24 14:16:36 +01:00
committed by GitHub
parent 6f12ba3031
commit f692a82423

View File

@@ -1,9 +1,11 @@
$(document).ready(function() { $(document).ready(function() {
$("#ContentToInclude").load("/menu.html"); $("#ContentToInclude").load("/menu.html");
$(".linkbutton").mouseenter(function() { $(".linkbutton").mouseenter(function() {
$(this).stop()
$(this).animate({"border-radius": "0px", "background-color": "darkblue"}, 200) $(this).animate({"border-radius": "0px", "background-color": "darkblue"}, 200)
}) })
$(".linkbutton").mouseleave(function() { $(".linkbutton").mouseleave(function() {
$(this).stop()
$(this).animate({"border-radius": "20px", "background-color": "rgba(0,0,0,0)"}, 200) $(this).animate({"border-radius": "20px", "background-color": "rgba(0,0,0,0)"}, 200)
}) })
$(".textlink").mouseenter(function() { $(".textlink").mouseenter(function() {