|
|
 |
Re: FN-FORUM need some help in javascript
date posted 21st January 2002 15:54
i've got a clearer picture after reading the specs in netscape, but i've
found that there are still a lot of mystery variables, eg. Event.MOUSEMOVE,
overDiv, innerHTML, etc. anyone here able to help?
marco
>From: [EMAIL REMOVED]
>Reply-To: [EMAIL REMOVED]
>To: [EMAIL REMOVED]
>Subject: Re: FN-FORUM need some help in javascript
>Date: Mon, 21 Jan 2002 15:09:25 -0000
>
>Im not a javascripter but I do a bit
>
> > var ns4=(document.layers)? true:false
> > var ie4=(document.all)? true:false
>
>document.all is only used by IE4+
>document.layers only by N4+
>sometimes to test for browser versions
>don't know about the rest.
>
>hth
>
>Darren
>
>----- Original Message -----
>From: "marco polo" [EMAIL REMOVED]
>To: [EMAIL REMOVED]
>Sent: Monday, January 21, 2002 2:45 PM
>Subject: FN-FORUM need some help in javascript
>
>
> > hi there,
> >
> > i've just started learning javascript from scratch and looked at how
>others
> > implemented in actual practice. i have had a look of overlib.js from
> > bosrup.com and have found quite a lot of 'unexpected' objects in the
>code,
> > eg.:
> >
> > var ns4=(document.layers)? true:false
> > var ie4=(document.all)? true:false
> > if (navigator.userAgent.indexOf('MSIE 5')>0)
> > document.captureEvents(Event.MOUSEMOVE)
> > var lyr=o3_frame.document.overDiv.document
> > 03_frame.document.all["overDiv"].innerHTML
> > over=o3_frame.overDiv.style ...
> >
> > the objects like document, navigator, userAgent and functions like
> > captureEvents etc cannot be found elsewhere in the document. how do
>these
> > objects, functions and properties come about? are they built-in in
> > javascript? i looked at netscape and msn's specs but couldn't find
>those.
> >
> > marco
> >
>
>
>
>============================================================
>= Get your message here for as little as £1 per week =
>= =
>= http://www.freelancers.net/cgi/sponsor.cgi?action=show =
>============================================================
>
> * Free listing for freelancers
> * Free to advertise jobs
> * Free jobs distribution service
> * Free database of 5000 freelancers
>
>Freelancers and Freelance Jobs:
>http://www.freelancers.net
>
>Forum FAQs:
>http://freelancers.netrickery.com
>
>To unsubscribe please email:
[EMAIL REMOVED]
>
>If you have difficulties unsubscribing please email:
[EMAIL REMOVED]
_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp.
|
 |
|