Commit 26dc47a6 authored by imac's avatar imac

[Update]Redmine #649 : Structural change + fixed menu

parent 2fc92e00
...@@ -80,7 +80,7 @@ var initFunction = function() { ...@@ -80,7 +80,7 @@ var initFunction = function() {
$('.main-list-nav>li').removeClass('current'); $('.main-list-nav>li').removeClass('current');
$(this).parent().addClass('current'); $(this).parent().addClass('current');
$('.main-list-nav .subcat').stop().slideUp('slow'); $('.main-list-nav .subcat').stop().slideUp('slow');
$(this).parent().find('.subcat').stop().slideDown('slow'); // $(this).parent().find('.subcat').stop().slideDown('slow');
}); });
setTimeout(function() { setTimeout(function() {
$('.gallery-wrapper').removeClass('hidden-elem').addClass('animated visible-elem fadeInUp'); $('.gallery-wrapper').removeClass('hidden-elem').addClass('animated visible-elem fadeInUp');
...@@ -144,9 +144,6 @@ var initFunction = function() { ...@@ -144,9 +144,6 @@ var initFunction = function() {
}) })
$(this).parent().find('.subcat').addClass('current'); $(this).parent().find('.subcat').addClass('current');
$('.img-wrapper').hide(); $('.img-wrapper').hide();
/* $('nav ul').each(function(){
$(this).find('li').removeClass('current').addClass('off');
})*/
var clickedElem = $(this).parent(); var clickedElem = $(this).parent();
$('.right-container').load(link, {'ajax': 1}, function() { $('.right-container').load(link, {'ajax': 1}, function() {
// $('#fullpage').fullpageSlide(); //Stories // $('#fullpage').fullpageSlide(); //Stories
...@@ -182,9 +179,9 @@ var initFunction = function() { ...@@ -182,9 +179,9 @@ var initFunction = function() {
} }
$('.main .container-bg').removeClass('hidden'); $('.main .container-bg').removeClass('hidden');
//$('.main').css('padding-top', $('.nav-header').outerHeight()); //$('.main').css('padding-top', $('.nav-header').outerHeight());
} }// IF HOME
$('.loading-container-subpage').hide(); $('.loading-container-subpage').hide();
}); }); //END load
history.pushState(null, null, link); history.pushState(null, null, link);
}); });
//} //}
......
...@@ -24,7 +24,7 @@ jQuery(document).ready(function() { ...@@ -24,7 +24,7 @@ jQuery(document).ready(function() {
}); });
jQuery("#search-btn").on('click', function() { jQuery(document).on('click','#search-btn', function() {
jQuery('article').show(); jQuery('article').show();
jQuery('.list-animation section').show(); jQuery('.list-animation section').show();
jQuery('article').removeClass('selected'); jQuery('article').removeClass('selected');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment