Need script right fucking now

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iwantchixx
    Too lazy to set a custom title
    • Oct 2002
    • 12860

    #1

    Need script right fucking now

    I need a piece of j.a.v.a.s.c.r.p.t to print out a date in following format

    Dayofweek, Month DayNumer, Year


    Anyoen got a fucker capable of this noise?
  • PiksalDesign
    Confirmed User
    • Mar 2003
    • 1632

    #2
    me
    469344657

    Comment

    • Spunky
      I need a beer
      • Jun 2002
      • 133978

      #3
      You want it to make noise?

      Comment

      • kevinale
        Confirmed User
        • Dec 2002
        • 2115

        #4
        i'll do it 2nite..

        aim : kalexa2
        icq : 149241543
        1monkey0cup.com

        Comment

        • PiksalDesign
          Confirmed User
          • Mar 2003
          • 1632

          #5
          Originally posted by PiksalDesign
          me
          270183939
          469344657

          Comment

          • PMdave
            Confirmed User
            • Dec 2003
            • 1517

            #6
            Somewhere in your body
            PHP Code:
             <hahahahahahahaha
            
            /*
            Live Date Script- 
            ? Dynamic Drive ([url]www.dynamicdrive.com[/url])
            For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
            visit [url]http://www.dynamicdrive.com[/url]
            */
            
            
            var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
            var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
            
            function getthedate(){
            var mydate=new Date()
            var year=mydate.getYear()
            if (year < 1000)
            year+=1900
            var day=mydate.getDay()
            var month=mydate.getMonth()
            var daym=mydate.getDate()
            if (daym<10)
            daym="0"+daym
            var hours=mydate.getHours()
            var minutes=mydate.getMinutes()
            var seconds=mydate.getSeconds()
            var dn="AM"
            if (hours>=12)
            dn="PM"
            if (hours>12){
            hours=hours-12
            }
            if (hourshahahaha0)
            hours=12
            if (minutes<=9)
            minutes="0"+minutes
            if (seconds<=9)
            seconds="0"+seconds
            //change font size here
            var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" </b></font></small>"
            if (hahahahahahahahahahaall)
            hahahahahahahahahahaall.clock.innerHTML=cdate
            else if (hahahahahahahahahahagetElementById)
            hahahahahahahahahahagetElementById("clock").innerHTML=cdate
            else
            hahahahahahahahahahawrite(cdate)
            }
            if (!hahahahahahahahahahaall&&!hahahahahahahahahahagetElementById)
            getthedate()
            function goforit(){
            if (hahahahahahahahahahaall||hahahahahahahahahahagetElementById)
            setInterval("getthedate()",1000)
            }
            
            </hahahahahahahaha 
            

            Your bodytag
            PHP Code:
             hahahahahaha hahahahahahahaha"goforit()"> 
            


            Where you want the date


            PHP Code:
            <span id="clock"></span> 
            

            Comment

            • nastyking
              • Nov 2002
              • 2174

              #7
              FUCK IT

              var d=new Date();
              var weekdays=new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday");
              var monthnames=new Array("January", "February", "March", "April", "May", "June", "July", "August", "October", "November", "December");

              d ocument.w rite(weekdays[d.getDay()] + ", " + monthnames[d.getMonth()] + " " + d.getDay() + ". " + d.getFullYear() );
              d ocument.w rite("<BR>also. I'm gay");

              Comment

              • PMdave
                Confirmed User
                • Dec 2003
                • 1517

                #8
                sorry something went wrong with the code for the body tag, should be:
                < b_o_d_y o_n_L_o_a_d="goforit()">

                remove underscores

                Comment

                • nastyking
                  • Nov 2002
                  • 2174

                  #9
                  Originally posted by PMdave
                  Somewhere in your body
                  PHP Code:
                   <hahahahahahahaha
                  
                  /*
                  Live Date Script- 
                  ? Dynamic Drive ([url]www.dynamicdrive.com[/url])
                  For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
                  visit [url]http://www.dynamicdrive.com[/url]
                  */
                  
                  
                  var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
                  var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
                  
                  function getthedate(){
                  var mydate=new Date()
                  var year=mydate.getYear()
                  if (year < 1000)
                  year+=1900
                  var day=mydate.getDay()
                  var month=mydate.getMonth()
                  var daym=mydate.getDate()
                  if (daym<10)
                  daym="0"+daym
                  var hours=mydate.getHours()
                  var minutes=mydate.getMinutes()
                  var seconds=mydate.getSeconds()
                  var dn="AM"
                  if (hours>=12)
                  dn="PM"
                  if (hours>12){
                  hours=hours-12
                  }
                  if (hourshahahaha0)
                  hours=12
                  if (minutes<=9)
                  minutes="0"+minutes
                  if (seconds<=9)
                  seconds="0"+seconds
                  //change font size here
                  var cdate="<small><font color='000000' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" </b></font></small>"
                  if (hahahahahahahahahahaall)
                  hahahahahahahahahahaall.clock.innerHTML=cdate
                  else if (hahahahahahahahahahagetElementById)
                  hahahahahahahahahahagetElementById("clock").innerHTML=cdate
                  else
                  hahahahahahahahahahawrite(cdate)
                  }
                  if (!hahahahahahahahahahaall&&!hahahahahahahahahahagetElementById)
                  getthedate()
                  function goforit(){
                  if (hahahahahahahahahahaall||hahahahahahahahahahagetElementById)
                  setInterval("getthedate()",1000)
                  }
                  
                  </hahahahahahahaha 
                  
                  [/PHP]

                  HAHAHAHAHAHA

                  Comment

                  • Your Worst Nightmare
                    So Fucking Banned
                    • Mar 2004
                    • 62

                    #10
                    How rude.... But it worked

                    <b> damn <<b>ja<b>vasc<b>ript<b>>

                    Comment

                    • PMdave
                      Confirmed User
                      • Dec 2003
                      • 1517

                      #11
                      http://www.dynamicdrive.com/dynamicindex6/clock3.htm

                      just search for "+hours+":"+minutes+":"+seconds+" "+dn
                      +" and delete it

                      Comment

                      • PMdave
                        Confirmed User
                        • Dec 2003
                        • 1517

                        #12
                        Originally posted by nastyking



                        HAHAHAHAHAHA
                        don't see what's funny about trying to help out another webmaster...

                        Comment

                        • iwantchixx
                          Too lazy to set a custom title
                          • Oct 2002
                          • 12860

                          #13
                          Awesome, thank you guys

                          Comment

                          • iwantchixx
                            Too lazy to set a custom title
                            • Oct 2002
                            • 12860

                            #14
                            Originally posted by PMdave


                            don't see what's funny about trying to help out another webmaster...

                            he's laughing about the 'hahahaha' that is placed all over the java code. Got a link to this in a text file?

                            Comment

                            • iwantchixx
                              Too lazy to set a custom title
                              • Oct 2002
                              • 12860

                              #15
                              Originally posted by iwantchixx



                              he's laughing about the 'hahahaha' that is placed all over the java code. Got a link to this in a text file?

                              n/m got it

                              Comment

                              • iwantchixx
                                Too lazy to set a custom title
                                • Oct 2002
                                • 12860

                                #16
                                Originally posted by PMdave
                                http://www.dynamicdrive.com/dynamicindex6/clock3.htm

                                just search for "+hours+":"+minutes+":"+seconds+" "+dn
                                +" and delete it
                                if I remove the following part it generates errors
                                "+dn
                                +"

                                Comment

                                • sake
                                  Confirmed User
                                  • Apr 2002
                                  • 2648

                                  #17
                                  google dot com

                                  Comment

                                  • iwantchixx
                                    Too lazy to set a custom title
                                    • Oct 2002
                                    • 12860

                                    #18
                                    Originally posted by sake
                                    google dot com

                                    You must be the forum comedian

                                    Comment

                                    • playa
                                      Confirmed User
                                      • Feb 2001
                                      • 6432

                                      #19
                                      <date> </date>

                                      Comment

                                      • PMdave
                                        Confirmed User
                                        • Dec 2003
                                        • 1517

                                        #20
                                        Originally posted by iwantchixx


                                        if I remove the following part it generates errors
                                        "+dn
                                        +"
                                        http://www.pornmailers.com/date.html

                                        let me know when you're done so I can remove it (don't want to much junk on a server ;)

                                        Comment

                                        • cluck
                                          Confirmed User
                                          • Dec 2002
                                          • 5248

                                          #21
                                          I used that on an epic mail page.

                                          "OFFER FOR FREE PAYSITE ACCESS WITHOUT CREDIT CARD EXPIRES <INSERTTOMRROW>"
                                          icq 279990726
                                          www.mcdonalds.com <- great money making opportunity

                                          Comment

                                          • iwantchixx
                                            Too lazy to set a custom title
                                            • Oct 2002
                                            • 12860

                                            #22
                                            Originally posted by PMdave


                                            http://www.pornmailers.com/date.html

                                            let me know when you're done so I can remove it (don't want to much junk on a server ;)

                                            ah I see where I messed it. I just blanked out the AM PM values anyways. I saved that page localy, you can delete it now. thanks.

                                            Comment

                                            • Mr. Marks
                                              Confirmed User
                                              • Jun 2001
                                              • 7517

                                              #23
                                              Good luck!

                                              Comment

                                              • goBigtime
                                                Confirmed User
                                                • Nov 2002
                                                • 7761

                                                #24
                                                God said Let there be search engines! - and then there were.

                                                Comment

                                                Working...