add old website to v1 branch
This commit is contained in:
20
js/basicanimations.js
Executable file
20
js/basicanimations.js
Executable file
@@ -0,0 +1,20 @@
|
||||
$( 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
Executable file
10911
js/jquery.js
vendored
Executable file
File diff suppressed because it is too large
Load Diff
0
js/specialanimations.js
Executable file
0
js/specialanimations.js
Executable file
Reference in New Issue
Block a user