-
-
Save Johnqing/5611195 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var searchTableArea = $(".search_table_area"); | |
function fwidth() { | |
var c_width = searchTableArea.width(), | |
snumTrs = searchTableArea.find("tr"), | |
snumTrsLen = searchTableArea.find("tr").length; | |
for(var i = 0 ;i < snumTrsLen; i++) { | |
snumTrs.eq(i).find("td:eq(1)").css("width",(c_width -200 + "px")); | |
} | |
} | |
var str_id01; | |
var str_id02; | |
function fopen() {//展开关闭搜索 | |
searchTableArea.toggle( | |
function() { | |
tab('block','关闭搜索'); | |
}, | |
function() { | |
tab('none','展开搜索'); | |
} | |
); | |
function tab(type,text){ | |
searchTableArea.css("display",type); | |
var checkArea = $(".seach_check_area"); | |
checkArea.css("display",type); | |
checkArea.find("a").empty().html(text) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment