issue 1311 fix. Progress in 50%.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10246 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-02-28 08:46:08 +00:00
parent cd90597c60
commit 5d152237de
4 changed files with 13 additions and 5 deletions

View file

@ -217,7 +217,12 @@ $('form.siteMap')
selectModuleLayer.find('select').html(htmlBuffer);
}
function tgMapBtn(){
$('.x .siteMap>ul:visible').next('.btnArea').slideDown(50);
$('.x .siteMap>ul:hidden').next('.btnArea').slideUp(50);
}
tgMapBtn();
$('a.tgMap').click(function() {
var $this = $(this);
var curToggleStatus = getCookie('sitemap_toggle_'+$this.attr('href'));
@ -226,7 +231,8 @@ $('form.siteMap')
$($this.attr('href')).slideToggle('fast');
$this.closest('.siteMap').toggleClass('fold');
setCookie('sitemap_toggle_'+$this.attr('href'), toggleStatus);
setTimeout(function(){ tgMapBtn(); }, 250);
return false;
});
});