fd-gulp-convert-encoding
Version:
convert file to assigned charset
42 lines (30 loc) • 865 B
JavaScript
/**
* @author: dongming.jidm
* @date: 2013-01-28
*/
!(function($){
var Sandbox,
configs = {
"rootId": "#content",
"leftContent": ".leftContentWrap",
"rightContent": ".offers",
end:0
},self;
function MaindataHeight(sb) {
Sandbox = sb;
return MaindataHeight;
}
$.extend(MaindataHeight,{
init:function(){
var leftContentHeight = $(configs.leftContent,configs.rootId).height() + 500;
if($.browser.version !== "6.0") {
$(configs.rightContent,configs.rootId).css("min-height",leftContentHeight);
}else{
$(configs.rightContent,configs.rootId).css("height",leftContentHeight);
}
},
end:0
});
Qingguo.Business.MaindataHeight = MaindataHeight;
AppCore.register("qingguo_mod_maindataHeight", Qingguo.Business.MaindataHeight);
})(jQuery);