mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 09:09:59 +09:00
css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4f380d9c48
commit
61851f1dfe
2149 changed files with 109090 additions and 18689 deletions
18
widgets/language_select/skins/default/js/language_select.js
Normal file
18
widgets/language_select/skins/default/js/language_select.js
Normal 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;
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue