Not really sure why this is happenning.....
Have you tried using dojo's functions
dojo.html.addClass, dojo.html.removeClass and dojo.html.setClass ?

Their implementation covers some cases that your doesn't... perhaps
it'll do the trick


Anna Vo wrote:
> We have some tables with rows that change background color (highlight)
> when the user does an onmouseover/onmouseout. There is no background
> image swapping.
>
> For some reason, when we include the dojo libraries on these pages, it
> causes the row highlight to flicker when your mouse moves over links or
> even the column dividers. This occurs in both IE6 and IE7, but not in FF
> or Safari.
>
> I even hardcoded the onmouseout and onmouseover to static styles at one
> point to make sure it wasn't in the script and it still flickers. When I
> remove the dojo script includes, the flickering stops. If anyone has any
> pointers as to why this would occur or an alternative method, any help
> would be appreciated. Thanks!
>
>
> DOJO SCRIPT INCLUDE
> -------------------------------------------
> <script type="text/javascript">djConfig = { isDebug: false,
> baseRelativePath: "dojo/", preventBackButtonFix: true,
> disableFlashStorage: true, parseWidgets: false};</script>
> <script type="text/javascript" src="dojo/dojo.js"></script>
>
> ONMOUSEOVER/OUT
> -------------------------------------------
> trs[j].onmouseover = function()
>
> {
> this.className = this.className + ' ' + hoverClass;
> }
>
> trs[j].onmouseout = function()
>
> {
>       var rep = this.className.match(' ' + hoverClass) ? ' ' +
> hoverClass :  hoverClass;
>       
> this.className = this.className.replace(rep,'');
> }     
>
> Anna
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Tacos-devel mailing list
> Tacos-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>   


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
Tacos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to