progress on website
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
setInterval( backgroundSwitching, 10000 );
|
||||
|
||||
let id = 2;
|
||||
|
||||
function backgroundSwitching () {
|
||||
$( `#img${id}` ).addClass( 'visible' );
|
||||
if ( id > 6 ) {
|
||||
id = 2;
|
||||
$( `.hidables` ).removeClass( 'visible' );
|
||||
} else {
|
||||
id++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user