progress on webpage

This commit is contained in:
2023-05-22 08:43:22 +02:00
parent e621cc7a7c
commit 7872038aaf
22 changed files with 44 additions and 81 deletions

View File

@@ -0,0 +1,6 @@
let preferredLang = navigator.languages.includes( 'de', 'de-CH' ) ? 'de' : 'en';
console.log( preferredLang );
function switchLanguage ( lang ) {
window.location.pathname
}

View File

@@ -62,8 +62,8 @@ $( document ).ready( function () {
moveTo( parseInt( $( this ).attr( 'id' ).substring( 4 ) ) );
} );
$( '.scroll-wrapper' ).click( function () {
moveTo( currentlyShowing + 1 );
$( '.scroll-container' ).click( function () {
moveTo( currentlyShowing + 2 );
} );
function moveTo ( id ) {