复制代码 代码如下:
<PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="doInit()" />
<PUBLIC:ATTACH EVENT="onmouseover" ONEVENT="doMouseover()" />
<PUBLIC:ATTACH EVENT="onclick" ONEVENT="doClick()" />
<PUBLIC:ATTACH EVENT="onmouseout" ONEVENT="doMouseout()" />
<PUBLIC:PROPERTY name="test" />
<SCRIPT LANGUAGE="JavaScript">
var lastObj = null;
var lastColor = null;
function doInit(){
if(element==null){
return;
}
var objT = element.children[0];
try{
objT.rows(0).className="grid_title";
objT.rows(1).className="grid_title";
}
catch(err){
objT.className="grid_title";
}
objT = element.children[1];
if(objT.rows(0)==null){
return;
}
objT.rows(0).className="gridding1";
for(i=1;i<objT.rows.length;i++){
if(i%2==1){
objT.rows(i).className="gridding1";
}
else{
objT.rows(i).className="gridding1";
}
}
}
function doClick(){
if(event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.children[0].children.length == 0 ) return false;
}
catch(err){
return false;
}
if(curObj.children[0].children[0].checked){
curObj.children[0].children[0].checked = false;
}
else{
lastObj = curObj;
lastColor = "#FFFFFF";
curObj.children[0].children[0].checked = true;
}
}
if(event.srcElement.tagName =="INPUT"){
try{
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) {
var obj = curObj.parentElement.parentElement;
for(i=1;i<obj.rows.length;i++){
if(obj.rows(0).children[0].children[0].checked){
obj.rows(i).children[0].children[0].checked = true;
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
else{
obj.rows(i).children[0].children[0].checked = false;
if(i%2==1){
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
else{
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
}
}
}
}
catch(err){
return true;
}
}
}
function doMouseover(){
if( event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
curObj.style.backgroundColor="#F2FFEE";
}
if( event.srcElement.tagName=="INPUT"){
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) return false;
curObj.style.backgroundColor="#F2FFEE";
}
}
function doMouseout(){
if(event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.children[0].children.length == 0 ) {
if(curObj.rowIndex%2==1){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
return true;
}
}
catch(err){
if(curObj.rowIndex%2==1){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
return true;
}
if(curObj.rowIndex%2==1)
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
if(event.srcElement.tagName=="INPUT"){
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.rowIndex%2==1){
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
else{
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
}
catch(err){
return true;
}
}
}
</SCRIPT>
<PUBLIC:ATTACH EVENT="ondocumentready" ONEVENT="doInit()" />
<PUBLIC:ATTACH EVENT="onmouseover" ONEVENT="doMouseover()" />
<PUBLIC:ATTACH EVENT="onclick" ONEVENT="doClick()" />
<PUBLIC:ATTACH EVENT="onmouseout" ONEVENT="doMouseout()" />
<PUBLIC:PROPERTY name="test" />
<SCRIPT LANGUAGE="JavaScript">
var lastObj = null;
var lastColor = null;
function doInit(){
if(element==null){
return;
}
var objT = element.children[0];
try{
objT.rows(0).className="grid_title";
objT.rows(1).className="grid_title";
}
catch(err){
objT.className="grid_title";
}
objT = element.children[1];
if(objT.rows(0)==null){
return;
}
objT.rows(0).className="gridding1";
for(i=1;i<objT.rows.length;i++){
if(i%2==1){
objT.rows(i).className="gridding1";
}
else{
objT.rows(i).className="gridding1";
}
}
}
function doClick(){
if(event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.children[0].children.length == 0 ) return false;
}
catch(err){
return false;
}
if(curObj.children[0].children[0].checked){
curObj.children[0].children[0].checked = false;
}
else{
lastObj = curObj;
lastColor = "#FFFFFF";
curObj.children[0].children[0].checked = true;
}
}
if(event.srcElement.tagName =="INPUT"){
try{
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) {
var obj = curObj.parentElement.parentElement;
for(i=1;i<obj.rows.length;i++){
if(obj.rows(0).children[0].children[0].checked){
obj.rows(i).children[0].children[0].checked = true;
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
else{
obj.rows(i).children[0].children[0].checked = false;
if(i%2==1){
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
else{
obj.rows(i).style.backgroundColor="#FFFFFF";
obj.rows(i).style.color="#000000";
}
}
}
}
}
catch(err){
return true;
}
}
}
function doMouseover(){
if( event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
curObj.style.backgroundColor="#F2FFEE";
}
if( event.srcElement.tagName=="INPUT"){
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) return false;
curObj.style.backgroundColor="#F2FFEE";
}
}
function doMouseout(){
if(event.srcElement.tagName=="TD"){
var curObj = event.srcElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.children[0].children.length == 0 ) {
if(curObj.rowIndex%2==1){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
return true;
}
}
catch(err){
if(curObj.rowIndex%2==1){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
return true;
}
if(curObj.rowIndex%2==1)
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
if(event.srcElement.tagName=="INPUT"){
var curObj = event.srcElement.parentElement.parentElement;
if(curObj.rowIndex==0) return false;
try{
if(curObj.rowIndex%2==1){
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
else{
if(curObj.children[0].children[0].checked){
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
else{
curObj.style.backgroundColor="#FFFFFF";
curObj.style.color="#000000";
}
}
}
catch(err){
return true;
}
}
}
</SCRIPT>
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
暂无“js ondocumentready onmouseover onclick onmouseout 样式”评论...
RTX 5090要首发 性能要翻倍!三星展示GDDR7显存
三星在GTC上展示了专为下一代游戏GPU设计的GDDR7内存。
首次推出的GDDR7内存模块密度为16GB,每个模块容量为2GB。其速度预设为32 Gbps(PAM3),但也可以降至28 Gbps,以提高产量和初始阶段的整体性能和成本效益。
据三星表示,GDDR7内存的能效将提高20%,同时工作电压仅为1.1V,低于标准的1.2V。通过采用更新的封装材料和优化的电路设计,使得在高速运行时的发热量降低,GDDR7的热阻比GDDR6降低了70%。
更新动态
2024年11月16日
2024年11月16日
- 孙悦2024-时光音乐会[金蜂][WAV+CUE]
- 秦宇子.2020-#YUZI【海蝶】【FLAC分轨】
- 苏有朋.1994-这般发生【华纳】【WAV+CUE】
- 小虎队.1990-红蜻蜓【飞碟】【WAV+CUE】
- 雷婷《寂寞烟火HQⅡ》头版限量[低速原抓WAV+CUE][1G]
- 赵传1996《黑暗英雄》台湾首版[WAV+CUE][1G]
- 张敬轩2005《我的梦想我的路》几何娱乐[WAV+CUE][1G]
- 群星《人到四十男儿情(SRS+WIZOR)》[原抓WAV+CUE]
- 马久越《上善若水HQCDII》[低速原抓WAV+CUE]
- 龚玥《女儿情思》6N纯银SQCD【WAV+CUE】
- 张惠妹《你在看我吗》大碟15 金牌大风[WAV+CUE][1G]
- 群星《左耳·听见爱情》星文唱片[WAV+CUE][1G]
- 群星《抖音嗨疯-DISCO英文版》[WAV+CUE][1G]
- 群星.1990-情义无价(TP版)【中唱】【WAV+CUE】
- 马兆骏.1990-心情·七月【滚石】【WAV+CUE】