Hi!
I have made an
extention to the dynlayer.js file, attempting to provide an opportunity to add a
border to objects. It is working as it should in IE (at least IE5). In IE6, I
get the strange effect of getting border-top and border-left, but no
border-bottom or border-right. NS4 does not show any borders, as CSS elements
aren't referenced this way. Could somebody please help me?
The code I added
looks like this:
DynLayer.prototype.setBorder=function() {
if (this.css!=null) {
if (arguments.length==2) {
this.css["border" + arguments[0]] = arguments[1];
}
else {
this.css.border = arguments[0];
}
}
};
if (this.css!=null) {
if (arguments.length==2) {
this.css["border" + arguments[0]] = arguments[1];
}
else {
this.css.border = arguments[0];
}
}
};
And the page which I
use it on is located here:
//Victor
