progress on pages & optimisation of js
This commit is contained in:
11
js/loader.js
11
js/loader.js
@@ -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'} );
|
||||
} );
|
||||
} );
|
||||
Reference in New Issue
Block a user