progress on webpage
This commit is contained in:
6
newVersion/js/langHandler.js
Normal file
6
newVersion/js/langHandler.js
Normal file
@@ -0,0 +1,6 @@
|
||||
let preferredLang = navigator.languages.includes( 'de', 'de-CH' ) ? 'de' : 'en';
|
||||
console.log( preferredLang );
|
||||
|
||||
function switchLanguage ( lang ) {
|
||||
window.location.pathname
|
||||
}
|
||||
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user