Hello, I'm using scriptacolous to add drag&drop feature to my website.
I'm fallowing the demo (http://demo.script.aculo.us/shop) and
everything is fine. Now I would like adding to the waste bin the
background color even when is not active  but if I do it doesn't work
anymore. I mean the the hoverclass is not showed.
Is it possible to have background color when the waste bin is active
and not active

Below my code

        <%= drop_receiving_element "wastebin",
                        :update => "category_list", :url => { :action =>
"remove_category" },
                        :accept => "category_item", :hoverclass => 
"active_wastebin",
                        :before => "Element.hide(element)",
                        :loading => "Element.show('indicator')",
                        :complete => "Element.hide('indicator')" %>

CSS

#wastebin {
        border-color: #000055;
        border-style: dashed;
        border-width: 2px;
        background-color: #dddddd;
}

.active_wastebin {
        background-color: #FFFFFF;
}


Thank you and have a nice day !!
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to