Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to show a splash screen html page only once

.home-page {
    display: none;
}

$(document).ready(function(){

    if (sessionStorage.getItem('splash') !== 'true') {
        $('.splash_section').show();
        sessionStorage.setItem('splash','true');
    }
    else {
        $('.home-page').fadeIn();
    }    
});
Comment

PREVIOUS NEXT
Code Example
Html :: how to use javascript in html 
Html :: html delay 
Html :: vue render html raw 
Html :: how to make text big on big screens and smaller and smaller screen html 
Html :: html video play pause 
Html :: html multiple checkbox list 
Html :: stop website from letting you overscroll 
Html :: html <a 
Html :: bootstrap modal popup backdrop false 
Html :: colocar una imagen en html 
Html :: bootsrap 4 6 cdn 
Html :: how to fix input field and disabled 
Html :: safari input type number problem with decimals 
Html :: html svg favicon 
Html :: html.erb conditionally add class 
Html :: html iframe example 
Html :: html how to insert image 
Html :: svg rounded corners 
Html :: add svg to html 
Html :: CSS apply to selected option in select tag 
Html :: hide top bar menu item odoo 
Html :: v-on hover 
Html :: disabled attribute is not working in html 
Html :: how to make a draggable menu html/js jquery 
Html :: circlular waiting icon bootstrap 
Html :: refresh icon font awesome 
Html :: pop up message on button click in html 
Html :: HTML Links - Different Colors 
Html :: row merge 
Html :: tailwind resize none 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =