Netscape Java Script Objects



  • Navigator
  • Window
  • Frames
  • Document
    Properties of:
           forms
           embeds
           images
           history
           links





    Document: Object of (window, window.frames[n])


    usage: window.document
    usage: window.frames[n].document


    Properties
  • alinkcolor
  • anchors
  • applets
  • bgcolor
  • cookie
  • embeds
  • forms
  • history
  • images
  • linkcolor
  • links
  • title
  • URL

    Methods
  • clear()
  • close()
  • open()
  • write(string)
  • writeln(string)

    Event Handlers
  • onLoad
  • onUnload




    Images Array: Object of (document)

    usage: document.images[n]

    This is a property of the document object. It is an array of all the tags in the current document.


    Properties:
  • length
  • The number of images in the current document
  • index
  • The array position of the referenced image


    See also Image()





    Image() Constructor: Object of (JavaScript, document)

    usage: document.myImage = new Image(width,height)
         -Where 'myImage' is the NAME parameter of the taq or a your own specified name.

    Properties:
  • border
  • complete
  • height
  • hspace
  • lowsrc
  • name
  • src
  • vspace
  • width

    Event Handler:
  • onAbort
  • onError
  • onLoad





    Embeds

    usage: document.embeds[n] This is an array property of the document object. This array is a list of all the tags contained in the script of the current document, numbered from top to bottom. The first embedded plug-in in the array is always numbered[0]. Array elements may be identified by name or array position. var theFirstPlugin = document.embeds[0].name
    Properties:
  • length
  • Number of Embedded plug-ins in the document
  • index
  • The array position of the refenced plug-in





    This page hosted by Get your own Free Home Page