Hello!
I''m using latests scripts and i just noticed a problem. If you have a
div and you set effect.BlindDown on this div, Sortable.create thingy
displays right away outside of the expanding div BUT in the right
place! Basically while other divs inside main div are shown 1 by one
cause od blinddown effect, Sortable.create just pops out straight
away.
Wow, sorry my english when it comes to explaining is bad :)
Here''s a quick example taken from the site to see what i mean. When
you click on "click me" the lists are shown right away in IE 6 and IE
7, FF2 & Opera9 & Safari 3 are working just fine. Anyways to fix this?
**************************
<div onclick="new Effect.BlindDown(this);">click me
<div style="height:200px;">
<div style="float:left;">
<h3>This is the first list</h3>
<ul class="sortabledemo" id="firstlist"
style="height:150px;width:
200px;">
<li class="green" id="firstlist_firstlist1">Item 1
from first
list.</li>
<li class="green" id="firstlist_firstlist2">Item 2
from first
list.</li>
<li class="green" id="firstlist_firstlist3">Item 3
from first
list.</li>
</ul>
</div>
<div style="float:left;">
<h3>And now the second list</h3>
<ul class="sortabledemo" id="secondlist"
style="height:150px;width:
200px;">
<li class="orange" id="secondlist_secondlist1">
<span class="handle">DRAG HERE</span> Item 1 from
second list.
</li>
<li class="orange" id="secondlist_secondlist2">
<span class="handle">DRAG HERE</span> Item 2 from
second list.
</li>
<li class="orange" id="secondlist_secondlist3">
<span class="handle">DRAG HERE</span> Item 3 from
second list.
</li>
</ul>
</div>
</div>
<script type="text/javascript">
// <![CDATA[
Sortable.create("firstlist",
{dropOnEmpty:true,containment:
["firstlist","secondlist"],constraint:false});
Sortable.create("secondlist",
{dropOnEmpty:true,handle:''handle'',containment:
["firstlist","secondlist"],constraint:false});
// ]]>
</script>
</div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---