Now work in IE

This post was written on 2006/08/06 at 12:03:30 by Horst Gutmann

As you might or might not have noticed, the site should now look way better (apart from the top menu) and also the dropdown menus in the sidebar should now finally work. Sorry for that, but I hadn't noticed that problem until yesterday.

What was the problem with the sidebar? Quite simple. I build the dropdown menus using DOM. There I had something like this to set the onchange eventhandler:

selectbox.setAttribute("onChange","redirect(this.value)");

For some reason Internet Explorer 6.x seems to ignore this event handler. Perhaps because it was set as a simple attribute and perhaps IE interprets event handlers as something different. Anyway, replacing it with following code now seems to work in all maojor browsers. At least I've tested it now with IE, Firefox, Opera9 and Safari.

selectbox.onchange=function(){redirect(selectbox.value);};

If you find some other problems esp. with Internet Explorer, please let me know using the comment form below or the contact form :)

Comments:

  • markus (Guest)

    Yeah, I spent more than a month to complete my theme (mostly flighting IE bugs) and still not enterily happy... ;-)

    I noticed something in your custom CSS that shows... guess? :-) It is checkboxes show a border in IE, but not in (say) FF. I believe the cause is here: [HTML_REMOVED] input, textarea { border:solid 1px #AAA; } [HTML_REMOVED]

    Aug. 6, 2006, 2:19 p.m.

  • zerok

    Thanks :) There is also seems to be a width problem with forms or at least input/textarea fields in general. Perhaps I will find some time tomorrow for this :)

    Aug. 6, 2006, 11:42 p.m.

*'d input fields are required.