Help - Search - Members - Calendar
Full Version: LOL! My quick one minute website
Krazy Letter Forums > Creativity > Member Websites
myusrnm
[size=2]CLICK HERE!
myncknm
Egads, have you ever heard of a loop?
You actually went and typed in "alert('###/500')" 300 times?

This is how you do it:

CODE
<script type="text/javascript">
for (var i = 1; i <= 500; i++) {
window.alert(i + "/500");
}
</script>
myusrnm
QUOTE(myncknm @ Jan 11 2007, 01:12 PM) *
Egads, have you ever heard of a loop?
You actually went and typed in "alert('###/500')" 300 times?

This is how you do it:

CODE
<script type="text/javascript">
for (var i = 1; i <= 500; i++) {
  window.alert(i + "/500");
}

No actually, I didn't. It took me a minute, how could I have typed it all out? And I was too lazy to think of loops.
myncknm
A macro then?
myusrnm
QUOTE(myncknm @ Jan 11 2007, 01:49 PM) *
A macro then?

The way you said, but not really, it's my super copy-paste skills, combind with some stuff with tables so it took seconds to put together.
myncknm
So... spreadsheet then?
myusrnm
QUOTE(myncknm @ Jan 11 2007, 01:53 PM) *
So... spreadsheet then?

Basically, yesish

QUOTE(myncknm @ Jan 11 2007, 01:53 PM) *
So... spreadsheet then?
krt
Bit bland don't ya think?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.