|
-
Aug 8th, 2002, 02:13 PM
#3
Thread Starter
Hyperactive Member
Hi Josh,
When you talk about static in this case,
do you mean define all attributes in <style> tags
that you will not change and for
the rest perform assignments through javascript?
or
just fill in all attributes with onLoad event so I can then change any of them at will.
I am getting confused with the meaning of static...
I know in c++ you can make static variables that preserve their
scope even when the function they are part of is finished.
void hello()
{
static int numOfTimesFunctionIsCalled = 0;
numOfTimesFunctionIsCalled++;
cout<<"you called me again. It is not the <<numOfTimesFunctionIsCalled<<"time\n";
}
perhaps when I will read that w3c article all will make sense 
thanks
bsw2112
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|