Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 18th, 2018, 06:37am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Add Time To Info center  (Read 2487 times)
I've always wanted one of these wink
Conforums Administrator

member is offline


Mr Fixit...

Homepage PM

Gender: Male
Posts: 17662
xx Add Time To Info center
« Thread started on: Feb 5th, 2004, 3:44pm »

Code submitted by Killian

hey, one of my first code, some help from Luke Dyson but mostly my own,

Created by Killian Bartlett

This code cannot be posted (independently or with other scripts) at anywhere other than Killlian's World, without express permission from its creator.
This header must stay intact at all times.

tds = document.getElementsByTagName('td')
for(f=0;f<tds.length;f++) {
if(tds[f].innerHTML.indexOf('View the') != -1 && tds[f].innerHTML.indexOf('this forum') != -1 && tds[f].width == '60%' ) {
tds[f].innerHTML+= '<font size=1><br\>The Time Is: <span id=tick2></font>'

// Time
// Written by Killian Bartlett with help from Luke Dyson
function show2(){
if (!document.all&&!document.getElementById)
thelement=document.getElementById? document.getElementById("tick2"): document.all.tick2
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="PM"
if (hours<12)
if (hours>12)
if (hours==0)
if (minutes<=9)
if (seconds<=9)
var ctime=hours+":"+minutes+":"+seconds+" "+dn
thelement.innerHTML=" <style='font-size:11;color:black;'>"+ctime+""

Main Footer

Killian :)

Note: This code will not work with the news fader enabled

If you'd like to see a preview of this code's effects click here.
« Last Edit: Jul 5th, 2006, 7:47pm by Garet » User IP Logged

Have you read the FAQ or checked the Hacks board before posting?
Then please do so...
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls