PDA

View Full Version : Text Clock



un_seen
April 22nd, 2002, 02:26
Does any one know how to create a clock or a time stamp that will appear on a page so that it will show the current time of the person computer in the style of text that you specify and that doesnt show up in a little box???

thanks

Jan
April 22nd, 2002, 06:32
http://javascript.internet.com/page-details/date-time-stamp.html

If you don't need the date, just take that part out.

un_seen
April 24th, 2002, 19:14
Thanks alot.. :) I was also wondering if there is a PHP script that disables right clicking. If anybody know of one can you please let me know.. Thanx
I'm not worried about people stealing my soucre cause i know it is impossible to fully prevent it.

Canuckkev
April 24th, 2002, 22:10
Sorry, impossible to have PHP right click prevent script. Javascript executes on the clients computer, which is why it can do all that fancy stuff, a lot fancier than straight HTML. PHP executes server side, and outputs pure HTML, viewable by anyone in any web browser, whereas Javascript has to be enabled on the visitors computer.

But don't bother with disable right click scripts. Very few people will actually try to steal your source, but lots of people will try to right click, and will be annoyed if they are not allowed to.