If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Smart Folding Menu tree issue with IE9

The smart folding menu won't work in IE9 anymore (expand/close). Probably affected by windows update (on the server) yet it still works on other browsers such as new versions of Chrome and Firefox. I just found out that this very old script has been replaced by Simple Tree menu script which is why I can't find anything related to this version and for a possible fix. If possible, I would prefer to fix the old version as it would require a lot of manual coding/re-writing to use the new version.

Updating to the newer version might not be as difficult as you think. You should be able to use your old markup. Change the id(s) and class name(s) in the simpletree.css to reflect the ones you're using. In the on page init, use your existing id(s).

But there might be a way to fix what you're using. Try this version of the older script:

I think the real problem was updating the pages from quirks mode to standards mode. This breaks the script in all modern IE, including 8. This version (above) works in IE 5.5, 6, 7, 8, 9 and 10, as well as other modern browsers, regardless of the DOCTYPE (quirks or standard mode).

But that's just with the very limited menu from your post. There might be problems with a more extensive menu.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.