UK Webmaster Talk - Online Marketing - SEO


 

instant time view

This is a discussion on instant time view within the Php and MySQL forums, part of the Programming / Scripting / Coding category; there are some websites that have the exact time and it changes. how can i do that. it looks very ...


Go Back   UK Webmaster Talk - Online Marketing - SEO > Website Design & Development > Programming / Scripting / Coding > Php and MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Notices

Reply

 

LinkBack Thread Tools Display Modes
Old 21-04-2005, 15:38   #1 (permalink)
WMT Addict
 
Join Date: Apr 2005
Location: Brighton,UK
Posts: 162
iTrader: 0 / 0%
asgsoft is on a distinguished road
Default instant time view

there are some websites that have the exact time and it changes. how can i do that. it looks very nice. i know that it must have a loop and that it gets the time. would it be done by making a page that auto refreshes every second showing the time? or how will it be done?



thanks

asgsoft
asgsoft is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 16:15   #2 (permalink)
Senior Member
 
Join Date: Apr 2005
Posts: 1,088
iTrader: 0 / 0%
Departed is a name known to allDeparted is a name known to all
Default

Im not sute what you asking for but;

If your looking for a running clock its a javascript. Google: "Running Clock javascript" or something like that for instant results.
__________________
-Gary
Departed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 16:28   #3 (permalink)
WMT Addict
 
Join Date: Apr 2005
Posts: 278
iTrader: 0 / 0%
Cridiron is on a distinguished road
Send a message via AIM to Cridiron
Default

Hey ...I know exactly what you're looking for...and in fact I have it...and because I'm a nice guy, I'm gonna give it to you for free...

http://www.cridiron.hostmatrix.org/clock.js

There is the javascript code...just put that in your html file and viola!
__________________
Cridiron.com
Cridiron is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 19:13   #4 (permalink)
WMT Addict
 
Join Date: Apr 2005
Location: Brighton,UK
Posts: 162
iTrader: 0 / 0%
asgsoft is on a distinguished road
Default

ok exactly do i do that to make it show
asgsoft is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 19:16   #5 (permalink)
Senior Member
 
Join Date: Apr 2005
Posts: 1,088
iTrader: 0 / 0%
Departed is a name known to allDeparted is a name known to all
Default

Go here for more info. (Original script site.) Gives instructions and edits etc.
__________________
-Gary
Departed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 20:13   #6 (permalink)
WMT Addict
 
Join Date: Apr 2005
Location: Brighton,UK
Posts: 162
iTrader: 0 / 0%
asgsoft is on a distinguished road
Default

thank you so much for that. it's just what i wanted. thank you again
asgsoft is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 21-04-2005, 20:25   #7 (permalink)
Senior Member
 
Join Date: Apr 2005
Posts: 1,088
iTrader: 0 / 0%
Departed is a name known to allDeparted is a name known to all
Default

NP, what else are we here for? Remember, any more problems dont hesitate to ask.
__________________
-Gary
Departed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-04-2005, 18:49   #8 (permalink)
Newbie
 
Join Date: Apr 2005
Posts: 7
iTrader: 0 / 0%
Dr John is on a distinguished road
Default

Nice script. Might use it some time.

Here's one that puts the clock in the title bar. copy this to the <head> or save as a file.js and call in the usual way from the <head>.

<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Massimo Giari (motore@iol.it) -->


<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
var clocktext, timeday;
var pagetitle = document.title;
function scroll() {
today = new Date();
sec = today.getSeconds();
hr = today.getHours();
min = today.getMinutes();
// 12 Hour clock fix by Michael Mann (pres@manninc.com)
if (hr < 12) { timeday = " AM"; }
else { timeday = " PM"; }
if (hr > 12) hr = hr - 12;
if (hr <= 9) hr = "0" + hr;
if (min <= 9) min = "0" + min;
if (sec <= 9) sec = "0" + sec;
var clocktext = " - " + hr + ":" + min + ":" + sec + timeday;
clocktimer = setTimeout("scroll()", 1000);
document.title = pagetitle + clocktext;
}
if (document.all) scroll();
// End -->
</script>
Dr John is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 27-04-2005, 18:51   #9 (permalink)
Moderator
 
Join Date: Jan 2005
Location: post is there >>
Posts: 1,586
iTrader: 0 / 0%
robertall is just really nice
Send a message via AIM to robertall Send a message via MSN to robertall
Default

Thanks for the code, but code needs to be in [code] tags...
__________________
Free .org domain - Click for details!
Do not pm asking for things. My inbox is full. Add me to MSN!
robertall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-05-2005, 12:22   #10 (permalink)
*poke* *poke*
 
Join Date: Apr 2005
Posts: 134
iTrader: 0 / 0%
mck9235 is on a distinguished road
Default

Quote:
Originally Posted by Flubber
NP, what else are we here for? Remember, any more problems dont hesitate to ask.
Heh, you didn't even give him the script.
__________________
| - The Fast Track - |
Thanks to WMT for the new domain!
mck9235 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
instant, time, view

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Instant traffic from plug on huge media site! finalfrontier Buy and Sell Ad Space 0 20-05-2008 20:32
View.cc - Emotion.cc - Locate.cc Wistow Domain Names For Sale 7 13-07-2005 17:57
Emotion.cc & View.cc Wistow Domain Names For Sale 7 17-02-2005 15:09


All times are GMT +1. The time now is 14:38.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
UK Webmaster Forum © WebmasterTalk.co.uk | Design by Forbairt

Ad Management by RedTyger

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41