Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    please help...EASY..script issuses..

    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/sh...ad.php?t=82283


    thanks in advance

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,505
    Thanks
    3
    Thanked 501 Times in 488 Posts
    Code:
    <!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','November','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

  • #3
    New to the CF scene
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thank u so much

    you are a lifesaver
    Last edited by adnanh; 10-16-2005 at 09:57 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •