From: ngy <ng...@tp...> - 2002-09-11 17:28:58
|
hi everyone, I am here once again, with a petty question for you guys. In the earlier mentioned query I had tried to make an imageNavigator widget, which is sort of working, but I cannot find any information on integrating CSS properties in the javascript file so that the widget does that by default and not in the HTML. I tried various variations, but all in vain. it is something like this : this.highlighter = new DynLayer(null, 0,0,this.navigator.getWidth()*0.5, this.navigator.getHeight()*0.5,"transparent", true) this.navigator.addChild(this.highlighter); this.highlighter.css = this.highlighter.elm.style; this.highlighter.css.borderColor="red"; this.highlighter.css.borderWidth="5px";{ Would any of you guys have a ready example where css is integrated into the widget so that I could get some more insight into the subject too? Thanks for all the help till now ;-) Regards Nikhil |