You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.4 KiB
40 lines
1.4 KiB
9 years ago
|
// DOM Ready =============================================================
|
||
|
$(document).ready(function() {
|
||
|
|
||
|
$('#section-dashboard').show();
|
||
|
$('#section-easydex').hide();
|
||
|
$('#section-about-iguana').hide();
|
||
|
$('#nav-dashboard').removeClass( "" ).addClass( "active open" );
|
||
|
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
|
||
|
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
|
||
|
|
||
|
});
|
||
|
|
||
9 years ago
|
$('#nav-dashboard').on('click', function() {
|
||
9 years ago
|
$('#section-dashboard').show();
|
||
|
$('#section-easydex').hide();
|
||
|
$('#section-about-iguana').hide();
|
||
9 years ago
|
$('#nav-dashboard').removeClass( "" ).addClass( "active open" );
|
||
|
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
|
||
|
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
|
||
|
});
|
||
|
|
||
9 years ago
|
$('#nav-easydex').on('click', function() {
|
||
|
$('#section-dashboard').hide();
|
||
|
$('#section-easydex').show();
|
||
|
$('#section-about-iguana').hide();
|
||
9 years ago
|
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
|
||
|
$('#nav-easydex').removeClass( "" ).addClass( "active open" );
|
||
|
$('#nav-about-iguana').removeClass( " active open" ).addClass( "" );
|
||
9 years ago
|
});
|
||
|
|
||
|
$('#nav-about-iguana').on('click', function() {
|
||
|
$('#section-dashboard').hide();
|
||
|
$('#section-easydex').hide();
|
||
|
$('#section-about-iguana').show();
|
||
9 years ago
|
$('#nav-dashboard').removeClass( " active open" ).addClass( "" );
|
||
|
$('#nav-easydex').removeClass( " active open" ).addClass( "" );
|
||
|
$('#nav-about-iguana').removeClass( "" ).addClass( "active open" );
|
||
|
});
|
||
|
|