how do i make this refresh :(
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Lane_Campbell
Posted On:   Sunday, June 29, 2003 10:25 PM

< html> < head> < meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> < title>YOU HAVE A BIG PROBLEM < script language="JavaScript"> if (window != top) top.location.href = location.href; < /script> < script language="JavaScript"> self.moveTo(0,0); self.resizeTo(screen.availWidth - 5,screen.availHeight - 5); < /script> < /head> < body bgcolor='yellow' text='black'> < style type="text/css"> < a:link { color: #0000FF } a:visited { color: #0000FF } a:active { color: #0000FF } a:hover    More>>
< html>
< head>
< meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
< title>YOU HAVE A BIG PROBLEM

< script language="JavaScript">
if (window != top) top.location.href = location.href;
< /script>
< script language="JavaScript">
self.moveTo(0,0);
self.resizeTo(screen.availWidth - 5,screen.availHeight - 5);
< /script>
< /head>
< body bgcolor='yellow' text='black'>
< style type="text/css"> <
a:link { color: #0000FF }
a:visited { color: #0000FF }
a:active { color: #0000FF }
a:hover { color: #0000FF }
>
< /style>
< script langauge="JavaScript">
< !--
document.write("");
var right_now=new Date();
var right_hours=right_now.getHours()
if (right_hours > 12)
right_hours = right_hours - 12;
document.write(right_hours);
document.write(":");
var right_min=right_now.getMinutes();
if (right_min < 10)
document.write("0");
document.write(right_min);
document.write(":");
var right_sec=right_now.getSeconds();
if (right_sec < 10)
document.write("0");
document.write(right_sec);
var ampm=" A.M.";
if (right_now.getHours() > 12)
ampm=" P.M.";
document.write(ampm);
document.write(" ON ");
function makeArray() {
for (i = 0; i
this[i + 1] = makeArray.arguments[i]; }
var months = new makeArray('JANUARY','FEBRUARY','MARCH','APRIL','MAY','JUNE','JULY','AUGUST','SEPTEMBER','OCTOBER','NOVEMBER','DECEMBER');
var date = new Date();
var day = date.getDate();
var month = date.getMonth() + 1;
var yy = date.getYear();
var year = (yy < 1000) ? yy + 1900 : yy;
document.write(day + " " + months[month] + " " + year);
//-->
</ script>
</ body>
</ html>

i am attempting to make a clock and all i have gotten to is what i pasted i would however like to make it refresh without using a meta refresh command because if i use that i would have to use frames :( thanks for any help you can give me    <<Less

Re: how do i make this refresh :(

Posted By:   Nitesh_Naveen  
Posted On:   Monday, June 30, 2003 01:37 AM

If you just need a clock like display, see this faq (click here)
About | Sitemap | Contact