...

View Full Version : please help...EASY..script issuses..



adnanh
10-16-2005, 08:06 PM
I have a deadline by tonight and I have a slight problem which im sure can be fixed..i just dont know how since my knowledge is limited to C++ and VB

to view the problem please refer to this thread: http://www.webdeveloper.com/forum/showthread.php?t=82283


thanks in advance

vwphillips
10-16-2005, 09:44 PM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>
<title></title>
</head>

<body>
Monday August 15, 2005
<script> vic=0; </script>
<form name=Show id=Show style="position:absolute;visibility:visible;top:450px;left:0px;" >
<input size=100 name=Show1 >
<input size=10 name=Show2 >
<input size=10 name=Show3 >
<input size=10 name=Show4 >
<input size=10 name=Show5 >
<input size=10 name=Show6 >
</form>
<script language="JavaScript" type="text/javascript">
<!--
var Days=new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var Months=new Array('January','Febuary','March','April','May','June','July','August','September','October','Novemb er','December');
var ToDay=new Date();

function FormatNu(zxc){
if (zxc<10){ zxc+='0'+zxc; }
return zxc;
}

var FormatDate=Days[ToDay.getDay()]+' '+Months[ToDay.getMonth()+1]+' '+FormatNu(ToDay.getDate())+', '+ToDay.getFullYear();

var scrollercontent='<font face="Arial, Helvetica, sans-serif;" color="white" size="1"><b>'+FormatDate+'</b><br><hr noshade color="#808080" size="1"><br><b></b><b>Upcoming Birthdays</b><br><b><font color="#FF6600"><br>Raza - Aug 20<br>Azam - Aug 25<br><br><hr noshade color="#808080" size="1"></b><font color="#FFFFFF"><b>A word from Akbar:</b><br><br>"Im so icceyyy...so icceey"<br><br>-Akbar Khan<br><br><hr noshade color="#808080" size="1"><b><br><b>Random Quotes:</b><br><br>"You aint gonna win anything by stayin in 2nd"<br><br>"I got attacked by a ladybug"<br><br>"The E36 is OG"<br><br>"Im not white, and Im not a guy"</font>'

document.Show.Show1.value=FormatDate;

//-->
</script>
</body>

</html>

remove
<script> vic=0; </script>
<form name=Show id=Show style="position:absolute;visibility:visible;top:450px;left:0px;" >
<input size=100 name=Show1 >
<input size=10 name=Show2 >
<input size=10 name=Show3 >
<input size=10 name=Show4 >
<input size=10 name=Show5 >
<input size=10 name=Show6 >
</form>
&
document.Show.Show1.value=FormatDate;

when happy

adnanh
10-16-2005, 09:53 PM
thank u so much

you are a lifesaver :thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum