Hi Moe! Your script only adds and removes class on the element, so I can't see how this could be a jquery issue. Nonetheless I tried to reproduce the problem, but couldn't. Could you post a link where you have this issue on-line?
On Mon, Jan 25, 2010 at 2:23 AM, Moe <moe1234512...@gmail.com> wrote: > $('.select_custom').each(function(){ > $(this) > .hover(function(){ > $(this).addClass( _app.ui.select_custom.hover ); > }, function(){ > $(this).removeClass( _app.ui.select_custom.hover ); > }); > }); > > Everytime I hover with the mouse there is a reload of something in IE 7, > possibly the background image(s) for hover. > _app.ui = {}; > _app.ui.select_custom = { normal:'ui-state-default', > clicked:'ui-widget-header', hover:'ui-state-hover'} > _app.ui.select_custom_icon = { normal:'ui-icon-carat-1-s', > clicked:'ui-icon-carat-1-n'} > > This seems to occur only on mouseenter in IE 7 (tested without problem in FF > 3.*).. this is causing the browser to lagg when mouseenters so it's really > nice. > > I hope you can help figure this out. > > Thanks / Moe > > > -- > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to jquery...@googlegroups.com. > To unsubscribe from this group, send email to > jquery-ui+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. > -- Best regards, Balázs Suhajda -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.