SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: HELP ME: Menu
-
Aug 16, 2001, 13:46 #1
- Join Date
- Aug 2001
- Location
- NY, USA
- Posts
- 34
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
HELP ME: Menu
Code:var M_StartTop=StartTop,M_StartLeft=StartLeft;
Ian Gordon
PHP & MySQL coder
"Coding is like riding a bike, with a little practice, u won't hurt urself
-
Aug 21, 2001, 13:27 #2
- Join Date
- Feb 2000
- Location
- where the World once stood
- Posts
- 700
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi,
It is. undefined as far as javascript is concerned means 'without value'.
And r-parameters must have values. So,
var x = y;
is illegal.
whereas
var x = y = 0
is legal.
In the following script, 'a' is undefined:
<script>
var x = y = 0, z = a;
</script>
VinnyWhere the World Once Stood
the blades of grass
cut me still
Bookmarks