__/ [ pemo ] on Monday 06 March 2006 15:10 \__
> This function of [inherited] javascript is producing errors
>
> function CSIEStyl(s) { return document.all.tags("div")[s].style; }
>
> On inspection document.all doesn't have a 'tags' hanging off it.
>
> The code is in a function called CSIEStyl which seems to be prolific [over
> 5000 hits on Google]
>
> The context where it's causing an error is this:
>
> CSIEStyl(s).visibility=(v==0)?"hidden":"visible";
>
> Where s is mossroster
>
> The only place I can find that text in the page is here:
>
> <csaction name="61c7ee54" class="ShowHide" type="onevent" val0="mossroster"
> val1="1"></csaction>
> <csaction name="805c60" class="ShowHide" type="onevent" val0="mossroster"
> val1="1"></csaction>
>
> and here
> CSAct[/*CMP*/ '61c7ee54'] = new Array(CSShowHide,/*CMP*/ 'mossroster',1);
> CSAct[/*CMP*/ '805c60'] = new Array(CSShowHide,/*CMP*/ 'mossroster',1);
>
> However, I have no idea what these lines refer to.
>
> Any help greatly appreciated!
I suspect this belongs at: comp.lang.javascript . It is JavaScript and very
debugging/programming-inclined.
Best wishes,
Roy
|
|