mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 17:49:58 +09:00
Merge from 1.5.2.2
git-svn-id: http://xe-core.googlecode.com/svn/trunk@10519 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9bf08cf3df
commit
361cd64c16
86 changed files with 804 additions and 156 deletions
26
m.layouts/colorCode/js/layout.js
Normal file
26
m.layouts/colorCode/js/layout.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
jQuery(function($){
|
||||
var lang = $('.link .lang');
|
||||
var lang_lst = $('.lang .lang_lst')
|
||||
lang.click(function(){
|
||||
if(lang.hasClass('on')){
|
||||
lang.removeClass('on').addClass('off');
|
||||
lang_lst.hide();
|
||||
}else if(lang.hasClass('off')){
|
||||
lang.removeClass('off').addClass('on');
|
||||
lang_lst.show();
|
||||
}
|
||||
})
|
||||
var lo_foot = $('.lo_foot');
|
||||
var lo_head = $('.lo_head');
|
||||
var ct = $('.ct');
|
||||
function footPosition(){
|
||||
if((lo_head.outerHeight() + ct.outerHeight() + 71) > $(window).height()){
|
||||
lo_foot.removeClass('fixed').addClass('static');
|
||||
}else if((lo_head.outerHeight() + ct.outerHeight() + 71) < $(window).height()){
|
||||
lo_foot.removeClass('static').addClass('fixed');
|
||||
}
|
||||
}
|
||||
footPosition();
|
||||
ct.resize(footPosition);
|
||||
|
||||
}); // end of ready
|
||||
Loading…
Add table
Add a link
Reference in a new issue