complete website rework beginning

This commit is contained in:
2023-07-13 16:52:23 +02:00
parent ad14c03206
commit e5b3585761
32 changed files with 227 additions and 0 deletions

View File

@@ -1,20 +0,0 @@
$( document ).ready( function() {
$( '#ContentToInclude' ).load( '/menu.html' );
$( '#Footer' ).load('/footer.html');
setTimeout( highlightLocation, 200 );
} );
function highlightLocation () {
let pagename = $(location).attr( 'pathname' );
if ( pagename.slice(0, 8) == '/project' ) {
$( '#projects' ).css( 'background-color', 'darkblue' );
} else if ( pagename.slice( 0, 6 ) == '/about' || pagename.slice( 0, 14 ) == '/privacypolicy' ) {
$( '#about' ).css( 'background-color', 'darkblue' );
} else if ( pagename.slice( 0, 6 ) == '/' || pagename == '/index.html' ) {
$( '#home' ).css( 'background-color', 'darkblue' );
} else if ( pagename.slice( 0, 8 ) == '/support' ) {
$( '#support' ).css( 'background-color', 'darkblue' );
} else if ( pagename.slice( 0, 9 ) == '/services' ) {
$( '#services' ).css( 'background-color', 'darkblue') ;
};
}

10911
js/jquery.js vendored

File diff suppressed because it is too large Load Diff