From: Bill W. <bi...@my...> - 2000-11-03 18:00:47
|
I'm having a problem in Netscape 4.75 with showing nested layers. I am creating a scrollbar widget and have implemented several nested layers to hold the images. In IE 5.5 they work fine, but in IE 5.0 and at least version 4.75 of Netscape's browser the layers do exist, but aren't showing up. Here is the code snippet for the layer creation: this.UpArrow = new DynLayer("UpArrow", 0, 0, w, 18, null, null, null, this.ImgList[5].src); this.DownArrow = new DynLayer("DownArrow", 0, h - 18, w, 18, null, null, null, this.ImgList[3].src); this.ScrollStrip = new DynLayer("ScrollStrip", 0, 18, w, h - 36, null, null, null, this.ImgList[0].src); this.ScrollStrip.addChild(new DynLayer('thumb', 0, 0, this.w, Math.max(36), null, null, null, this.ImgList[6].src)); this.thumb = this.ScrollStrip.children[0]; this.thumbTop = this.thumb.addChild(new DynLayer('thumbTop', 0, 0, this.w, 7, null, null, null, this.ImgList[8].src)); this.thumbBot = this.thumb.addChild(new DynLayer('thumbBot', 0, this.thumb.h-7, this.w, 7, null, null, null, this.ImgList[7].src)); this.thumbTop = this.thumb.children[0]; this.thumbBot = this.thumb.children[1]; this.addChild(this.UpArrow, this.DownArrow, this.ScrollStrip); In IE 5.5 the UpArrow, DownArrow and ScrollStrip shows, but the thumb and its children do not. In NS 4.75 the UpArrow and DownArrow shows, but the ScrollStrip and its children do not. I have already checked to see if the layers exist and they do. They just aren't showing up. Does anyone have suggestions? |