Click to See Complete Forum and Search --> : I can't get my clock to work the right way
veyto
04-06-2003, 03:15 AM
I'm new to Java. When I copy and paste the script to my site
there are no numbers showing up on the clock. How do I get the clock to work the right way? Please help. Thanks.
AdamGundry
04-06-2003, 03:44 AM
What script are you using? Is it Java, or JavaScript (they are different languages)?
Please provide a link to your site so we can find the problem.
Adam
David Harrison
04-06-2003, 09:43 AM
I've got a time and date script that you can have that should work for ya, you can just delete a big chunk if you only want the time, and the actual script come in a separate .js file so that you can easily show the time on every page of your site.
David Harrison
04-06-2003, 03:17 PM
I've taken the liberty of deleting the date part of the script for you and so it's just the time as you wanted it, it's very similar to a script on www.javascriptsource.com as I downloaded it off there when I had just started and modified it slightly, I still don't completely understand how it all works but it does.
veyto
04-06-2003, 03:23 PM
I'm using javascript. I can't get any of the free ones from this site to work the right way.
khaki
04-06-2003, 03:52 PM
Hi veyto...
can you provide a link to where you found the script for your clock?
It sounds like maybe it is a clock that uses images for the numbers(?), and that you need to download them onto your server in order to have them appear on the page.
Regardless... just provide a link and I'll look and see if there is something obvious that may be tripping you up.
;) k
veyto
04-06-2003, 04:02 PM
http://javascript.internet.com/clocks/bar-clock.html#source
Thanks for the help khaki.
khaki
04-06-2003, 04:31 PM
okay veyto...
the only thing that I think could have tripped-you-up would be the placement of all of the elements and those darn boxes (whatever they call them... I forget)
Anyway... I have attached a condensed version of the script as it would appear on an HTML page (from <html> to </html>)
I had to attach it as a text file because those effing boxes do not copy and past properly on the forum here.
This works, so if you are still having difficulties, let me know (because then we know that it is you. lol ;) ). Just kidding... so don't be afraid to post any problems that you may have getting this to work.
It's a bit of a gimmicky clock... but beauty is in the eye of the beholder... so enjoy it!
;) k
veyto
04-06-2003, 06:28 PM
So how does this clock know exactly what time it is when I post it?
veyto
04-06-2003, 06:41 PM
I tried the script several more times, and it still doesn't work.
Am I supposed to fill in something in the script to make it work the right way?