- if first visit (session start) show top bar and set session cookie, if not (cookie found), don't open it
This commit is contained in:
parent
aa51cfd4b1
commit
b80acb62b3
3 changed files with 123 additions and 2 deletions
|
|
@ -91,8 +91,11 @@ $(document).ready(function() {
|
|||
}
|
||||
});
|
||||
|
||||
setTimeout( function() {
|
||||
if ( $.cookie('firstVisit') != 'yes' ) {
|
||||
setTimeout( function() {
|
||||
openTopMenu();
|
||||
}, 2000 );
|
||||
}, 2000 );
|
||||
$.cookie('firstVisit', 'yes');
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue