link to myevent website & upgraded menu

This commit is contained in:
2023-03-25 13:59:35 +01:00
parent 53928f39f5
commit 9af271868c
6 changed files with 42 additions and 74 deletions

View File

@@ -1,24 +1,8 @@
$(document).ready(function() {
$('#ContentToInclude').load('/menu.html');
$('#Footer').load('/footer.html');
$( '.linkbutton').mouseenter(function() {
$( this ).stop();
$( this ).animate( { 'border-radius': '0px', 'background-color': 'darkblue' }, 200 );
});
$( '.linkbutton').mouseleave(function() {
$( this ).stop();
$( this ).animate( { 'border-radius': '20px', 'background-color': 'rgba(0,0,0,0)' }, 200 );
});
$( '.textlink' ).mouseenter(function() {
$( this ).stop();
$(this ).animate( { 'color': 'darkblue', 'font-size': '120%' }, 200 );
});
$( '.textlink' ).mouseleave(function() {
$( this ).stop();
$( this ).animate( { 'color': 'black', 'font-size': '100%' }, 200);
});
$( document ).ready( function() {
$( '#ContentToInclude' ).load( '/menu.html' );
$( '#Footer' ).load('/footer.html');
setTimeout( highlightLocation, 200 );
});
} );
function highlightLocation () {
let pagename = $(location).attr( 'pathname' );