Advertise Here

Author Topic: [Code] Easy Clock Code  (Read 2785 times)

0 Members and 1 Guest are viewing this topic.

Offline Shadow22

  • SMF For Free Newbie
  • *
  • Posts: 3
  • Founder
    • View Profile
    • CyberTown

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
[Code] Easy Clock Code
« on: April 25, 2006, 03:25:34 pm »
Simple code yet effective.

Put it in Headers/Footers

Quote
<div align="center">
<a-Created by Shadow of WebAcess-a>
<table width="500px"  bgcolor="black" border="1px" bordercolor="gray" cellpadding="6" cellspacing="4">
<tr>
<td align="center" valign="middle">
<script>
document.write("<div style='color:white'>"+Date()+"</div>")
</script>
</td>
</tr>
</table>
</div>
« Last Edit: November 16, 2008, 02:41:14 pm by simply sibyl »

Aslan

  • Guest
Re: Easy Clock Code
« Reply #1 on: May 11, 2006, 11:04:08 pm »
Simple code yet effective.

Put it in Headers/Footers

Quote
<div align="center">
<a-Created by Shadow of WebAcess-a>
<table width="500px" id="menu" bgcolor="black" border="1px" bordercolor="gray" cellpadding="6" cellspacing="4">
<tr>
<td align="center" valign="middle">
<script>
document.write("<div style='color:white'>"+Date()+"</div>")
</script>
</td>
</tr>
</table>
</div>

Do you have that on a website where we can take a look?

Offline Crasy

  • Global Moderator
  • *
  • Posts: 3960
  • Semi-Retired ;)
    • View Profile

  • Total Badges: 29
    Badges: (View All)
    Poll Starter Poll Voter Seventh year Anniversary Arcade Highscore Windows User
Re: Easy Clock Code
« Reply #2 on: June 17, 2006, 08:42:59 am »
My site has it in the footer. www.crazychat.smfforfree.com

It's good! Looks great
Did my answer help you? Want to help out hosting costs?


Every donation counts.

Offline LIL Murder12™

  • SMF For Free Full Member
  • *
  • Posts: 170
  • Add me on Xbox Live I'm LIL Murder12
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Easy Clock Code
« Reply #3 on: November 16, 2008, 01:37:11 pm »
isnt this missing <script></script>
[url=http://dragcave.net

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Easy Clock Code
« Reply #4 on: November 16, 2008, 01:52:20 pm »
isnt this missing <script></script>

No.. look closer thru the code..  its there.
The script is inside a table, inside a div.
« Last Edit: November 16, 2008, 01:55:05 pm by simply sibyl »

Offline LIL Murder12™

  • SMF For Free Full Member
  • *
  • Posts: 170
  • Add me on Xbox Live I'm LIL Murder12
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Easy Clock Code
« Reply #5 on: November 16, 2008, 02:13:46 pm »
that would make the code useless without the part that goes in header and its not provided
cause i tried it and it wont work
[url=http://dragcave.net

Offline simply sibyl

  • Helpers
  • *
  • Posts: 14347
  • On hiatus
    • View Profile
    • The Tent Dwellers

  • Total Badges: 31
    Badges: (View All)
    Level 6 Poll Voter Webmaster Arcade Highscore Windows User
Re: [Code] Easy Clock Code
« Reply #6 on: November 16, 2008, 02:20:53 pm »
that would make the code useless without the part that goes in header and its not provided
cause i tried it and it wont work

The code works fine and does not need jquery in the header...  its not necessary with this code.

 I realize a lot of the codes posted here need it but this is not one of them.

THe only thing I see is that  "id=menu" doesnt have to be there (that wont cause it not to work however unless you have another code on your forum with an id of "menu".   [Ive removed that from the code - Shadow has not been here for 2 years]

I stuck the code, as it is written here, on the footer of one of my forums..  you can see it here and see that it works fine.  

http://sibylstestsite.smfforfree3.com/index.php

If it is not working for you give us your forums url with the code in place so we can see how you did it.
« Last Edit: November 16, 2008, 02:44:38 pm by simply sibyl »

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
7134 Views
Last post August 05, 2007, 04:10:34 am
by guest1608
0 Replies
2639 Views
Last post January 09, 2007, 07:31:39 am
by Legend_Killer
3 Replies
2240 Views
Last post November 03, 2007, 05:05:38 pm
by Hurricane47
2 Replies
1386 Views
Last post March 29, 2008, 12:19:38 pm
by -Sя.Sharp
1 Replies
1803 Views
Last post December 14, 2008, 03:40:50 am
by WBA Dude