Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2: docjslibNS6SubClass.js - Doc JavaScript | WebReference

Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2: docjslibNS6SubClass.js - Doc JavaScript


Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2

docjslibNS6SubClass.js

<!--
function docjslibNS6SubClass() {
  this.inheritFrom = docjslibSuperClass;
  this.inheritFrom();
  
  this.getSrc = getSrcMethod;
  this.setSrc = setSrcMethod;
  function getSrcMethod(id) {
    return document.getElementById(id + "img").src;
  }
  function setSrcMethod(id, url) {
    document.getElementById(id + "img").src = url;
  }
}
// -->

Next: A Final Word

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: February 12, 2001
Revised: February 12, 2001

URL: http://www.webreference.com/js/column77/17.html