2023年6月20日发(作者:)
htmltable在线设计,html中表格设计⽼⼤不许让我⽤其他样式,⾮要⽤aui的,既然做出来,⼜不想浪费⾃⼰的成功,就这样贡献出来给⼤家学习1先上图⽚样式/* admin/ 样式*/.dateGrid_operate {border-bottom: 1px solid #ddd;padding: 0px;}#dateGrid_main, #dateGrid {border-top: #ddd solid 1px;border-left: #ddd solid 1px;width: 100%;table-layout: fixed;}#dateGrid_main th {background-color: gray;border-bottom: #ddd solid 1px;border-right: #ddd solid 1px;overflow: hidden;white-space: nowrap;}#dateGrid td {overflow: hidden;white-space: nowrap;border-bottom: #ddd solid 1px;border-right: #ddd solid 1px;}.dateGrid_div {text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;}/*容纳表格内容的DIV,这个DIV上放置滚动条*/.content {height: 300px; /*定⼀下⾼度,要不然就撑出来没滚动条了*/overflow: scroll; /*总是显⽰滚动条*/}ript脚本// admin///DataGrid 数据表格/*dateGrid指代table*///////function senfe(o, a, b, c, d) {var t = mentById(o).getElementsByTagName("tr");for (var i = 0; i
t[i].oundColor = (t[i].sectionRowIndex % 2 == 0) ? a : b;t[i].onclick = function() {if (this.x != "1") {this.x = "1";// 本来打算直接⽤背景⾊判断,FF获取到的背景是RGB值,不好判断oundColor = d;} else {this.x = "0";oundColor = (nRowIndex % 2 == 0) ? a: b;}}t[i].onmouseover = function() {if (this.x != "1")oundColor = c;}t[i].onmouseout = function() {if (this.x != "1")oundColor = (nRowIndex % 2 == 0) ? a: b;}}}4html代码//核⼼代码pageEncoding="UTF-8"%>indexUsageAccountsUsersGroupsGlobal permissionsAuthenticationAvatarsUser directoriesSettingsServer settingsDatabaseApplication linksMail serverLicensingSupportAtlassian SupportToolsLogging and ProfilingDataGrid
addeditdeletesearchiduploadernamedescriptionprojectversioncategorytagsdownloads${ }${er }${ }${ption }${t }${n }${ry }${ }${ads }
2023年6月20日发(作者:)
htmltable在线设计,html中表格设计⽼⼤不许让我⽤其他样式,⾮要⽤aui的,既然做出来,⼜不想浪费⾃⼰的成功,就这样贡献出来给⼤家学习1先上图⽚样式/* admin/ 样式*/.dateGrid_operate {border-bottom: 1px solid #ddd;padding: 0px;}#dateGrid_main, #dateGrid {border-top: #ddd solid 1px;border-left: #ddd solid 1px;width: 100%;table-layout: fixed;}#dateGrid_main th {background-color: gray;border-bottom: #ddd solid 1px;border-right: #ddd solid 1px;overflow: hidden;white-space: nowrap;}#dateGrid td {overflow: hidden;white-space: nowrap;border-bottom: #ddd solid 1px;border-right: #ddd solid 1px;}.dateGrid_div {text-overflow: ellipsis;-o-text-overflow: ellipsis;overflow: hidden;}/*容纳表格内容的DIV,这个DIV上放置滚动条*/.content {height: 300px; /*定⼀下⾼度,要不然就撑出来没滚动条了*/overflow: scroll; /*总是显⽰滚动条*/}ript脚本// admin///DataGrid 数据表格/*dateGrid指代table*///////function senfe(o, a, b, c, d) {var t = mentById(o).getElementsByTagName("tr");for (var i = 0; i
t[i].oundColor = (t[i].sectionRowIndex % 2 == 0) ? a : b;t[i].onclick = function() {if (this.x != "1") {this.x = "1";// 本来打算直接⽤背景⾊判断,FF获取到的背景是RGB值,不好判断oundColor = d;} else {this.x = "0";oundColor = (nRowIndex % 2 == 0) ? a: b;}}t[i].onmouseover = function() {if (this.x != "1")oundColor = c;}t[i].onmouseout = function() {if (this.x != "1")oundColor = (nRowIndex % 2 == 0) ? a: b;}}}4html代码//核⼼代码pageEncoding="UTF-8"%>indexUsageAccountsUsersGroupsGlobal permissionsAuthenticationAvatarsUser directoriesSettingsServer settingsDatabaseApplication linksMail serverLicensingSupportAtlassian SupportToolsLogging and ProfilingDataGrid
addeditdeletesearchiduploadernamedescriptionprojectversioncategorytagsdownloads${ }${er }${ }${ption }${t }${n }${ry }${ }${ads }
发布评论