I am using script.aculo.us for Drag and Drop in my RoR application.
I have a 3 column list that is generated in my first partial after a
option is selected in a drop down list. When the partial refreshes,
the borders in my first partial don''t expand to the same height as the
list. Then when I drag and drop and item, the box in the second
partial also does not expand to accommodate the list. So then I''m
left with a page that''s difficult to view and use when dragging and
dropping.
Has anyone encountered this and solved it?
Thanks!
My style looks like this:
<style>
ul
{
width: 30em; /* room for 3 columns */
padding-bottom: 8px;
}
ul li
{
float: left;
width: 10em; /* accommodate the widest item */
}
/* stop the floating after the list */
br
{
clear: left;
}
.hover {
background-color: #888888;
}
#item_list ul li, #county_selected ul li {
list-style: none;
cursor: -moz-grab;
}
#item_list, #item_selected, {
border: 1px solid gray;
}
</style>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---