SMF For Free Support Forum
Signup For Free Forum
September 02, 2010, 11:41:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1] 2
  Print  
Author Topic: [CODE] Easy Clock  (Read 3689 times)
0 Members and 1 Guest are viewing this topic.
Shadow23
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
« on: August 31, 2006, 10:13:49 am »

Preview: No Preview

Put it wherever you want it to appear

Quote
<table width="500px" id="menu" bgcolor="black" border="1px" bordercolor="gray" cellpadding="6" cellspacing="4">
<!-- Created by Shadow of http://leesfreebies.smfforfree.com -->
<tr>
<td align="center" valign="middle">
<script>
document.write("<div style='color:white'>"+Date()+"</div>")
</script>
</td>
</tr>
</table>
« Last Edit: February 27, 2007, 01:58:03 pm by crasyandconfused » Logged
Crystalman
SMF For Free Full Member
*
Offline Offline

Posts: 152


Crystalman.EXE


View Profile WWW
« Reply #1 on: August 31, 2006, 01:52:16 pm »

yeah, I used it for my forum , MegaMan World and it looks great, just edited the colors a bit. Great code, Thank you!    smitten
« Last Edit: September 02, 2006, 05:55:44 pm by Crystalman.EXE » Logged



Buster Cannon Forums, and BCF-Comics.
Laugh-nd-kid
SMF For Free Master
*
Offline Offline

Posts: 1409


Thankyou for this great software SMF For Free!


View Profile
« Reply #2 on: September 01, 2006, 05:33:41 am »

Yes Same With Me. It's a great code. Again I've just edited the colours a bit. Thank you Ever so much  Wink
Logged

kreng
SMF For Free Newbie
*
Offline Offline

Posts: 3



View Profile
« Reply #3 on: December 15, 2006, 04:55:29 am »

wow! thanks for the code! Wink
Logged
Agent Moose
Moderator
*****
Offline Offline

Posts: 825


Do not PM me for Code Support or Request


View Profile
« Reply #4 on: December 18, 2006, 08:39:33 pm »

Good Code.  I think next time you should make it so that the time goes up.  I know how to do it, but, I would want someone else to figure out how, it is easy.
Logged

Check out Revolution X's Brand new Code Index!
ShadowOfTheDarknes
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #5 on: January 22, 2007, 11:59:51 am »

where i put it ?
Logged
Shadow Of Darkness
SMF For Free Member
*
Offline Offline

Posts: 68


I'm trying to be an helper for SMF and Tiny Portal


View Profile WWW
« Reply #6 on: January 22, 2007, 01:25:50 pm »

where i put it ?

You can put it anywhere on your forum ShadowOfTheDarknes.
Logged

Do you need help with your forum just ask!!! You can found me on here or on my forum!
Sasuke Uchiha
SMF For Free Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #7 on: January 22, 2007, 06:42:59 pm »

Nice code but the time is wrong for me how can i fix time i live in portland,Oregon USA
Logged
Crasy
Global Moderator
*
Offline Offline

Posts: 3951


Semi-Retired ;)


View Profile
« Reply #8 on: January 22, 2007, 07:11:17 pm »

I believe it gets the time off your computer.

Or maybe it's your forum time...so you'd have to fix one of those.
Logged

Did my answer help you? Want to help out hosting costs?


Every donation counts.
Shadow Of Darkness
SMF For Free Member
*
Offline Offline

Posts: 68


I'm trying to be an helper for SMF and Tiny Portal


View Profile WWW
« Reply #9 on: January 23, 2007, 12:27:53 am »

I think the forum time, she have to change to make the clock right...
Logged

Do you need help with your forum just ask!!! You can found me on here or on my forum!
Sasuke Uchiha
SMF For Free Newbie
*
Offline Offline

Posts: 10


View Profile
« Reply #10 on: January 23, 2007, 11:56:08 am »

ok i check out if my comp time is right and how can i change the forum times by the way?

Logged
Crasy
Global Moderator
*
Offline Offline

Posts: 3951


Semi-Retired ;)


View Profile
« Reply #11 on: January 23, 2007, 02:02:26 pm »

Please post the URL of your forum when asking for help

I can't help you unless I know what server you're on...and the URL will tell me that.
Logged

Did my answer help you? Want to help out hosting costs?


Every donation counts.
fasty
SMF For Free Newbie
*
Offline Offline

Posts: 15


View Profile WWW
« Reply #12 on: August 03, 2007, 07:54:24 am »

i put it on my forum in the header and footer
Logged

khscifi naruto central hurry job positions open
Omikron 9861
SMF For Free Full Member
*
Offline Offline

Posts: 229


High School Science.........


View Profile
« Reply #13 on: August 04, 2007, 06:49:59 am »

And i can get it to appear up top. It depend on where you want it.

This is the code.
Code:
<script>
var partnumber1="<table width='500px' id='menu' bgcolor='black' border='1px' bordercolor='gray' cellpadding='6' cellspacing='4'><tr><td align='center' valign='middle'><div style='color:white'>";
var partnumber2="</div>";
var partnumber3="</td></tr></table>";
var clocktime=partnumber1+Date()+partnumber2+partnumber3;
$(div.tborder table tbody tr td.titlebg2 span.smalltext).innerhtml="clocktime";
</script>
Its at http://dttm.smfforfree3.com/. And thanks,
Agent Moose for letting 'someone else to figure out how' it is done.

EDIT: That is supposed to go in the headers.It is not working on my machine. Anyone can help? line27 char15 expected')' on the homepage.
« Last Edit: August 12, 2007, 07:48:36 am by Omikron 9861 » Logged


You have no idea what you are missing out on. The best place to discuss Eragon, Eldest and Book 3
 is just a single click away. So click!

Want a spoiler tag on your forum? Click here!
Agent Moose
Moderator
*****
Offline Offline

Posts: 825


Do not PM me for Code Support or Request


View Profile
« Reply #14 on: August 04, 2007, 09:23:08 am »

Try this:
Code:
<script>
var partnumber1="<table width='500px' id='menu' bgcolor='black' border='1px' bordercolor='gray' cellpadding='6' cellspacing='4'><tr><td align='center' valign='middle'><div style='color:white'>";
var partnumber2="</div>";
var partnumber3="</td></tr></table>";
var clocktime=partnumber1+Date()+partnumber2+partnumber3;
$("div.tborder table tbody tr td.titlebg2 span.smalltext").innerhtml=clocktime;
</script>
Logged

Check out Revolution X's Brand new Code Index!


Pages: [1] 2
  Print  
 
Jump to:  



Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Hostgator Hosting
Page created in 0.655 seconds with 17 queries. (Pretty URLs adds 0.208s, 2q)