Print

Author Topic: Oh!! Mario DHTML Script!!  (Read 3389 times)

« on: April 28, 2005, 06:20:12 AM »
I created this script for use in my friend's webboard! Haha..
but my friend's webboard is not mario webboard!
but visitor wont know this:
Edit: Oh! i cant type <-s-c-r-i-p-t->
It's a tag to show the time

<span id=sptime></span>
*******>
////////////////////////////////////////////////////////////
// Digital Script. Super Mario Edition!!                  //
////////////////////////////////////////////////////////////
//           --------------THANKS--------------           //
// "Live Clock Lite" script - Version 1.0                 //
// By Mark Plachetta (astroboy@zip.com.au)                //
////////////////////////////////////////////////////////////
//           --------------THANKS--------------           //
// - Dynamic Drive (http://www.dynamicdrive.com)          //
////////////////////////////////////////////////////////////
// Code Edited by !M e c h A K o o p A! justa MARIO lover //
// mechakoopa@gmail.com        MSN:thaiirin2@hotmail.com  //
////////////////////////////////////////////////////////////
function WhatTimeIsItLuIgI() {
var TimeShell = new Date();
var Mario = TimeShell.getHours();
var Luigi = TimeShell.getMinutes();
var Peach = TimeShell.getSeconds();
//So Mario is Hour, Luigi is Minute and Peach is Second

if (Luigi <= 9) { Luigi = "0"+Luigi; }
if (Peach<= 9) { Peach = "0"+Peach; }
//Add 0 to the minutes and seconds if their value is
//not more than 9

sptime.innerHTML = Mario+":"+Luigi+":"+Peach;
setTimeout("WhatTimeIsItLuIgI()",1000);
//Now set the text for time span and update the time
//again in 1 seconds
}
WhatTimeIsItLuIgI();
//Show the time now!
********>

Edited by - thaiirin on 4/28/2005 5:23:10 AM
This is my signature!

« Reply #1 on: April 28, 2005, 07:36:06 PM »
[wtd] is script?

___________________________
I am the best person in existance!
____________________________
And in this crazy world, we have to ask ourselves..........is there anything more important than hockey?

« Reply #2 on: April 28, 2005, 07:40:06 PM »
ummmmmm...what?  Sorry, but I have no idea what that stuff means, is, does, or EATS for that matter!

If Toad is a mushroom and a mushroom is a fungus and a fungus is a decomposer, can we say that Toad is a decomposer?

Edited by - The Blue Toad  on 4/28/2005 6:40:57 PM
Maybe there is more to me than there is to me...

Print