|
'); }else{ that.djakConArr.push('
' + i + '小時前
'); } for(var n=0,小蕎;n 1){ var tempIndex = 0; for(var m=0,桃太郎村;m<that.djakPart-1;m++){ tempIndex = tempIndex + that.djakPartNum[m]; that.djakDl[tempIndex].className = "selected"; that.$("aikanTimePub0"+Number(m+2)).innerHTML = jsonData[tempIndex].pub_time; that.timeInit(that.$("aikanTimePub0"+Number(m+2)).innerHTML,"aikanTimeBefore0"+Number(m+2),refresh); } } //console.log(that.djakCss); that.eventAdd(); if(refresh == true){ that.$("dajiaaikanloading").style.display = "none"; that.$("dajiaikanrefresh").style.display = "block"; } if(typeof djakCallBack=="function"){ djakCallBack(); } } }); } }; /*調用方法 var djakCustom = new djakPublic({ chanelName : "index", //頻道英文名;默認index itemNum : 15,白金回收, //內容條數,默認15 djakPart : 3, //分成僟個部分,威塑,按時間標識劃分;默認1 djakPartNum : [5,5,5], //每個部分的條數;默認10 djakContent : "dajiaaikanCon",超跑出租, //內容填充容器id djakRefresh : "djakRefresh", //刷新按鈕填充容器id,Taiwan Taipei hotel,寬高12X1 |
|