veedaz
Daywalker
[AWD:03][M:0]
The old geezer
Posts: 12
|
Post by veedaz on Jul 21, 2010 9:45:00 GMT -6
Browser: Microsoft Internet Explorer(4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0; .NET4.0C; Maxthon 2.0)) I am not sure how I stand on this - copy right etc ? but I had a code made at Proboards Support (written by Eton Bones) for a Clock on the main page of my forum, my question is can the Clock be made Blue, I would like to request the color change at Nightcodes (if possible) or do I need to go to Proboards Support ?. Thank you for reading
|
|
|
Post by iPokemon.php on Jul 21, 2010 16:03:42 GMT -6
<style type="text/css"> .icTime {color:blue;} </style> <script>
var Time = { d: new Date(), get: function(){return this.d.toLocaleString();}, print: function(){ if(pb_action == "home"){ for(var td = document.getElementsByTagName("td"), a = td.length - 1; a > -1; a--){ if(td[a].width == "40%" && td[a].vAlign == "top" && td[a].align == "left"){ this.div=td[a].firstChild.appendChild(document.createElement("div")); this.div.className="icTime"; this.ftimer= function(){var T=window.Time; T.d=new Date();T.div.innerHTML=T.get()} td[a].firstChild.lastChild.appendChild(document.createTextNode(this.get())); this.timer=setInterval(Time.ftimer,1000); this.div.ondblclick=function(){ if(Time.timer){clearInterval(Time.timer);Time.timer=null; }else Time.timer=setInterval(Time.ftimer,1000); } break; } } } }
} Time.print();
</script>
Let me know if that works for you.
|
|
veedaz
Daywalker
[AWD:03][M:0]
The old geezer
Posts: 12
|
Post by veedaz on Jul 22, 2010 1:06:09 GMT -6
Brilliant ! I now have a blue clock ! thank you very much iPokemon, I'm impressed and grateful, very
|
|
|
Post by iPokemon.php on Jul 22, 2010 13:19:36 GMT -6
Lol, if that didn't work, I would have used jQuery No problem
|
|
|
Post by Nightwalker on Jul 23, 2010 20:41:27 GMT -6
Good job ipoke
Request completed Locked if you need the thread unlocked PM me
|
|