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

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


Netscape 6, Part VI: Object-Oriented DOCJSLIB 1.2

docjslibIE5SubClass.js

<!--
function docjslibIE5SubClass() {
  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: Browser-dependent subclass for NS4

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/15.html