progress on pages & optimisation of js

This commit is contained in:
2023-03-23 13:27:26 +01:00
parent 47f6de711a
commit 2f84fc92b4
4 changed files with 25 additions and 18 deletions

View File

@@ -1,13 +1,4 @@
$(document).ready( function () {
$( document ).ready( function () {
$( '#nav' ).load( '/modules/nav.html' );
$( '#footer' ).load( '/modules/footer.html' );
$( '.button' ).mouseenter ( function () {
$( this ).stop();
$( this ).animate( { 'border-radius': '0'} );
} );
$( '.button' ).mouseleave ( function () {
$( this ).stop();
$( this ).animate( { 'border-radius': '50px'} );
} );
} );