|
"Mifano " <nchminh@gmail.com> wrote in message
<fh1jfa$4sv$1@fred.mathworks.com>...
> Hello,
> I have the following HTML code using javascript to create
> collapse folders and I test on R2006a and R2006b like
> described below:
>
[HTML file contents removed]
>
> I used Web Browser of Matlab to open Myfile.html. This code
> works fine in R2006a (folders collpased) but not in R2006b.
>
> Could you tell me what was changed in Web Browser of R2006b?
> And how can I have the same effect in R2006b like in R2006a?
>
> Thank you.
As of R2006b, MATLAB uses a Mozilla-based solution for HTML
rendering on 32-bit Windows platforms. It appears that the
HTML file you posted behaves in the same way in the MATLAB
web browser as it does in Firefox. While I haven't looked
at your JavaScript in too much detail, it appears that the
call to nextSibling is not returning the element that you
are trying to display/hide.
|