On 12/8/05, Nicolas Terray <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I've just discover scriptaculous and it is a really good library. Even
> if I have some difficulties with short syntax in javascript code :/
>
> I have a strange behaviour with Effect.Highlight, and as it's said on
> bug report page :
> "It's also a good idea to discuss this on the Mailing List beforehand,
> maybe it's already known and in the works, or it isn't a bug ("it's a
> feature!")."
>
> Well. With 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(document.getElementById('right'));">
>         </select>
>         <select id="right">
>         </select>
>     </body>
> </html>
> ---8<------------------------------
> If I 'mouseover' the first select box, the second will be highlighted. Great.
> If I 'mouseover' and rapidly 'mouseout-mouseover' the first select box
> whereas the effect is not finished, the second select box will be
> freezed, i.e. the select box remains yellow and will not anymore
> return to initial state.
>
> It is a bug ? a feature ?
> Is there a workaround ?
>
> I'm working on Firefox 1.0.7/Fedora Core 3 and it seems to be the same
> on IE6/Win2003
>
> Thanks,
> Nicolas Terray
>

To reproduce the bug.

If you go to :
http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemo

and double-clic where it is said "Click for Effect.Highlight demo"
then the effect will be frozen :(

It seems to be a "real" bug, no ?

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

Reply via email to