css 및 js 호출순서 조정기능 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-03-06 05:33:56 +00:00
parent 4f380d9c48
commit 61851f1dfe
2149 changed files with 109090 additions and 18689 deletions

View file

@ -0,0 +1,18 @@
jQuery(function(){
jQuery('.language_selector','div.widgetLanguage').click(function(){
var c = jQuery(this).parent();
var langList = c.next('ul.langList');
langList.toggle();
jQuery(this).parents('[id^=ex_]:first').css('overflow','').css('position','relative');
if(langList.css('top')){
if(jQuery('body').height() <= c.offset().top + langList.height()) {
langList.css('top',-(langList.height()+17));
}else{
langList.css('top','26px');
}
}
return false;
});
});