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

Hello,



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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>



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"
http://www.w3.org/TR/html4/loose.dtd”>



…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,



Jonathan





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…


Hello,


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!

Hello,

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

Thanks,
Jonathan

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