basic javascript question

Giganews Newsgroups
Subject: basic javascript question
Posted by:  bbxrider (bbxride…@comcast.net)
Date: Wed, 30 Jul 2003

i'm new to javascript but have programmed lots in vb, cobol, basic, etc
jscript seems much more object oriented to me, much more direct manipulation
of properties at least, than vb, don't know about methods yet

i'm having trouble locating property 'trees' so to speak, at least for
html/web and jscript objects
like in this code:
function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length;
i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
ok so a document has .images and .MM_p and .MM_p has length, etc
and a function has .arguments and .agruments have  .length, etc
and then i guess since .arguments, variable a, is multiple, a list, etc
when created (var a =) its automatically created as an array and then all
arrays? have .indexOf property

so what i can't seem to find in groups, google, my 'javascript definitive
guide' is
what are html document properties
what are jscript function properties, what are jscript array properties
is there a set way to find this stuff or is it dig em out little by little
one by one???

Replies