Admin UI minor update. Layer close JS added.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11247 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-16 05:21:01 +00:00
parent 55da889cb2
commit 90a66074ab
2 changed files with 10 additions and 0 deletions

View file

@ -11,6 +11,11 @@ jQuery(function($){
$($(this).attr('data-toggle')).toggle(); $($(this).attr('data-toggle')).toggle();
return false; return false;
}); });
// Close Layer
$('.x [data-close^="#"]').click(function(){
$($(this).attr('data-close')).hide();
return false;
});
// GNB Height 100% // GNB Height 100%
var $xBody = $('.x>.body'); var $xBody = $('.x>.body');
var $xContent = $xBody.find('>.content'); var $xContent = $xBody.find('>.content');

View file

@ -11,6 +11,11 @@ jQuery(function($){
$($(this).attr('data-toggle')).toggle(); $($(this).attr('data-toggle')).toggle();
return false; return false;
}); });
// Close Layer
$('.x [data-close^="#"]').click(function(){
$($(this).attr('data-close')).hide();
return false;
});
// GNB Height 100% // GNB Height 100%
var $xBody = $('.x>.body'); var $xBody = $('.x>.body');
var $xContent = $xBody.find('>.content'); var $xContent = $xBody.find('>.content');