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

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


Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2

docjslibNS4SubClass.js

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

Next: Browser-dependent subclass for NS6

https://www.internet.com


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

URL: https://www.webreference.com/js/column77/16.html