Closed Thread Icon

Topic awaiting preservation: Some many things at once. Pages that link to <a href="https://ozoneasylum.com/backlink?for=8895" title="Pages that link to Topic awaiting preservation: Some many things at once." rel="nofollow" >Topic awaiting preservation: Some many things at once.\

 
Author Thread
buddylee
Bipolar (III) Inmate

From: Kennesaw, GA - USA
Insane since: Oct 2003

posted posted 10-09-2003 19:08

Ok call me stupid or lame, but I just don't understand how you guys/girls can write sites that have tons of stuff going on at mostly the same time? For instense ozones.com you have all these effects happening all the time. So how do you code it all(as a whole) meaning... is there some sort of main loop that branches out and executes all the needed code or is there some other way of control the *flow* of the javascript. I'm reading this and it doesn't make much sense. Let me see if I can write some pseudo code. <-- I know that's not how you spell it.

<head>
<script type="text/javascript" src="thescript.js"></script>
</head>

the script...
{
document.onload=initFunction; <-- I think the ; is only needed if you want to add more code to same line?
}

function initFunction(){

declare all the vars...
do some stuff that looks cool...

call the mainloop function...
}

function mainloop(){

update the screen/browser
reset vars...

someTimer=setTimeout("mainloop", delay)
}

Would this be the way to have so many things going on at the same time? (specific examples are cool)
Is there any good tutorials that can get me up to date?
Do I sound like a complete idiot (be honest)?

I can already make decent *bussiness* websites, http://www.starzoneusa.com or http://www.phyquest.com (underconstruction). I just
want to add some jazz my design ability. Maybe one day i'll make a site of my own and i'll want to make if really neat. Anyway thanks for the help
I know you people will give me :-)

Quote: Life's fair, Arnold rocks, and I'm not a compulsive lair.



[This message has been edited by buddylee (edited 10-09-2003).]

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-10-2003 13:04

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu