(combobox) Hovereffect doesn't work correct with xhtml as Do


I’m using the dhtmlx combobox and need the doctype for xhtml:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

But now I found a problem, the scrollbar for the combobox is looking laggy (with activated hovereffect) when i’m scrolling (only in Internet Explorer 7 [didn’t test IE6 or IE8]).

If I change the doctype to html like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"

…everything looking correct.

But I need the doctype for xhtml and without activated hovereffect for the combobox is a selection of a option not very userfriendly.

Is there any trick or a workaround?

Thanks for help and greetings from switzerland,


If I have a lot of options in a combobox then i can use a scrollbar. With activated mousehover effect then the scrollbar looks laggy…


we have tested combo with this doctype. The problem occurs only in IE7 ( In IE6 and IE8 it wasn’t reproduced).

We’ll investigate the issue. If any solution is possible, we will provide it.

Thank you for the information…

I hope you will find a solution soon!


Is any solution figured out yet?
A solution/workaround is very important for me (not only for me)…


It seems, that with xhtml doctype applied, IE re-render whole list of options , each time when selection is changed ( which is basically just the color change ) - most probably it is a some glitch in IE7 rendering engine.
Please try to use the attached js file ( purposed to be used with other 2.5 files, please inform if you need an update for 2.1 version ) , it uses different marking method and must not cause slowness for IE7

dhtmlxcombo.zip (9.77 KB)

The atteched js file works perfect. Thank you very much, great work!

Greetings from Switzerland,
Jonathan Hügli