I have had some problems similar to yours, and posted a page
outlining my problems here
http://dev.lunny.com/test/blindclipping.php
but unfortunately I haven''t gotten any feedback from any one on this
list yet...
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://
www.incontrolsolutions.com
On 16-Oct-05, at 9:37 AM, Алекс wrote:
> here''s a basic question.
>
> i have an h2 element and i want onmouseover to show a div using
> blinddown; i also expect onmouseout of the mentioned div (but not
> h2) to have effect blindup to get rid of the div.
>
> so i set up:
>
> <h2 id = "show" class="show">Show div</h2>
> <div id = "out" class = "out"
style="display:none">some content</div>
>
> using behavior, i do this:
>
> ''.show'' : function (element) {
> element.onmouseover = function() {
> new Effect.BlindDown(''out'');
> }
> },
>
> ''.out'' : function (element) {
> element.onmouseout = function() {
> new Effect.BlindUp(element);
> }
> }
>
>
> when i go over with mouse over h2, the effect shows nicely. but
> when i go over (not out) the div element, the effect blindup takes
> place even though it shouldn''t.
>
> i also tried without behavior with same result.
>
> i must do something wrong, but don''t understand how.
>
> please tell me if you know.
> thank you.
> aleks
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs