made a lot of changes (jquery now used)
This commit is contained in:
15
js/basicanimations.js
Normal file
15
js/basicanimations.js
Normal file
@@ -0,0 +1,15 @@
|
||||
$(document).ready(function() {
|
||||
$("#ContentToInclude").load("/menu.html");
|
||||
$(".linkbutton").mouseenter(function() {
|
||||
$(this).animate({"border-radius": "0px"}, 200)
|
||||
})
|
||||
$(".linkbutton").mouseleave(function() {
|
||||
$(this).animate({"border-radius": "20px"}, 200)
|
||||
})
|
||||
$(".textlink").mouseenter(function() {
|
||||
$(this).animate({"color": "darkblue", "font-size": "120%"}, 200)
|
||||
})
|
||||
$(".textlink").mouseleave(function() {
|
||||
$(this).animate({"color": "black", "font-size": "100%"}, 200)
|
||||
})
|
||||
});
|
||||
Reference in New Issue
Block a user