On 12/9/05, Thomas Fuchs <[EMAIL PROTECTED]> wrote:
> > Is there a workaround ?
>
> new Effect.Highlight('right',{queue:'end'});
>
> This will use the effect queuing feature of script.aculo.us to make
> sure that the Effect.Highlight calls will not clash and will be
> executed in order.
>

Well, it is not really a workaround. Take this code :
---8<-------------------------
<html>
   <head>
       <script src="prototype.js" type="text/javascript"></script>
       <script src="scriptaculous.js" type="text/javascript"></script>
   </head>
   <body>
       <select id="left" onmouseover="new
       Effect.Highlight('right1', {queue:'end'});new
       Effect.Highlight('right2', {queue:'end'});new
       Effect.Highlight('right3', {queue:'end'});">
       </select>
       <select id="right1">
       </select>
       <select id="right2">
       </select>
       <select id="right3">
       </select>
   </body>
</html>
---8<-------------------------
It is horrible ! Juste mouseover-mouseout-mouseover the first element
and you will see that this solution is not acceptable...

:(

Nicolas Terray
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to