Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Universal Clock
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

GauravBhabu
Advanced Member

4288 Posts

Posted - 26 July 2001 :  19:35:44  Show Profile
That is not too much work. I will keep in mind to bring that. Working on my site But I will get some out to do that. That is a good IDEA.!!!

Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 26 July 2001 :  20:06:58  Show Profile
quote:

I just wanted to mention that mac users have a problem with this clock.
After the clock loads, everything after the clock code, and the clock, disappears!

I take that back. This happens when Netscape is the browser and it happens to PC and Mac users alike.

@tomic



Edited by - @tomic on 25 July 2001 21:43:15




For Netscape Do not use UTC Time. This will work with IE and Netscape both



****Step 1 ****The code below within the <head> </head> tags



<HEAD>

<div align="center">

<SCRIPT LANGUAGE="JavaScript">
<!--By: Rakesh Jain (rakeshjain@iname.com) -->
<!-- Web Site: http://www.bhabus.com -->

function displaydatetime() {
if (!document.layers && !document.all) return;
var today;
var timeLocal;
today = new Date();
timeLocal = today.toLocaleString(); //Convert to current locale.
if (document.layers) {
document.layers.clockLocal.document.write(timeLocal);
document.layers.clockLocal.document.close();}
else if (document.all) {
clockLocal.innerHTML = timeLocal;
}
setTimeout("displaydatetime()", 500)
}
window.onload = displaydatetime;

// End -->

</script>
</div>
</HEAD>


***** Step 2 The code below within the <body> </body> tags


<body>
<div align="center">
<span id=clockLocal style="position:relative;"></span><br>
</div>

</body>



Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!

Edited by - gauravbhabu on 26 July 2001 20:09:01
Go to Top of Page

Kal Corp
Average Member

USA
878 Posts

Posted - 26 July 2001 :  20:13:27  Show Profile  Visit Kal Corp's Homepage
get a watch

Go to Top of Page

@tomic
Senior Member

USA
1790 Posts

Posted - 26 July 2001 :  20:30:37  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message
Hey, I installed it but I will admit that I felt silly knowing that anyone can 1) look at a watch or 2) just point their eyeballs at their task bar

But if you want that fresh look, it can't be beat.

@tomic

Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 26 July 2001 :  22:15:40  Show Profile
You are right. I hardly look at any of them. But when I need to I don't have to change my focus. Otherwise most people also have one on their desk and one on the wrist and yet another on the wall.

Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!
Go to Top of Page

Dan Martin
Average Member

USA
528 Posts

Posted - 27 July 2001 :  11:56:19  Show Profile  Visit Dan Martin's Homepage  Send Dan Martin an AOL message  Send Dan Martin an ICQ Message  Send Dan Martin a Yahoo! Message
quote:

For Netscape Do not use UTC Time. This will work with IE and Netscape both



****Step 1 ****The code below within the <head> </head> tags



<HEAD>

<div align="center">

<SCRIPT LANGUAGE="JavaScript">
<!--By: Rakesh Jain (rakeshjain@iname.com) -->
<!-- Web Site: http://www.bhabus.com -->

function displaydatetime() {
if (!document.layers && !document.all) return;
var today;
var timeLocal;
today = new Date();
timeLocal = today.toLocaleString(); //Convert to current locale.
if (document.layers) {
document.layers.clockLocal.document.write(timeLocal);
document.layers.clockLocal.document.close();}
else if (document.all) {
clockLocal.innerHTML = timeLocal;
}
setTimeout("displaydatetime()", 500)
}
window.onload = displaydatetime;

// End -->

</script>
</div>
</HEAD>


***** Step 2 The code below within the <body> </body> tags


<body>
<div align="center">
<span id=clockLocal style="position:relative;"></span><br>
</div>

</body>



Share A Square at forumSquare


gauravbhabu

There is only one miracle...That is LIFE!

Edited by - gauravbhabu on 26 July 2001 20:09:01



The innerHTML property of a div is an IE specific thing. This won't work in Netscape either. I don't beleive even NN 6.0 supports the innerHTML property of a div.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.1 seconds. Powered By: Snitz Forums 2000 Version 3.4.07