From: Nicola M. <nic...@ho...> - 2001-01-23 00:45:58
|
just a temporary fix for the size problem but there are still other problem to be fixed on ns 6: add this is the function List(){ line 107,108 this.items.height=20 then change this: List.prototype.arrangeItems = function(){ this.totalHeight = this.listStyle.borders; for (var i=0;i<this.items.length;i++){ this.items[i].moveTo(this.listStyle.borders,this.totalHeight); //if ns 6 then we set the size not just the width if(!is.ns5)this.items[i].setWidth(this.w-this.listStyle.borders*2); else this.items[i].setSize(this.w-this.listStyle.borders*2,this.items.height); this.totalHeight = this.totalHeight+this.items[i].h+this.listStyle.spacing; } this.setHeight(this.totalHeight-this.listStyle.spacing+this.listStyle.borders); }; then add this ugly method: List.prototype.ns6ListItemHeight=function(h){this.items.height=h} you can call this in your HTML page like myList.ns6ListItemHeight(25) now with this fix I can see the list but still the select and deselect don't work on ns 6 and also they kind of work funny in ns 4 ciao Y _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com |