D
DoomedLung
Hey everyone,
I've been writing some classes and have a problem with one in
particular not implementing in IE.
Here's the code:
var Expand = function(){
this.childmenu = function(){
alert('drop');
}
this.init = function(){
var self = Expand;
document.getElementById('expImg1').onclick = self.childmenu;
}
}
window.onload = Expand.init;
can anyone tell me if I've missed something please ???
I've been writing some classes and have a problem with one in
particular not implementing in IE.
Here's the code:
var Expand = function(){
this.childmenu = function(){
alert('drop');
}
this.init = function(){
var self = Expand;
document.getElementById('expImg1').onclick = self.childmenu;
}
}
window.onload = Expand.init;
can anyone tell me if I've missed something please ???