Script.aculo - dragable - hide layer when droped?

Hello. I’ve been experimenting with the dynamic html layer effect from
script.aculo.us and I was hoping I might find some help. (if the is the
wrong place to discuss this or if you have no idea what I am talking
about I apologize

To begin, I have two layers, layer1 and layer2. Layer1 has been given
a dragable property, (layer2 can be dragable or stationary)

When layer1 is dragged, and dropped over top layer2, I want layer1 to
hide.

Current code:

Drag and Drop
<script src="prototype.js" type="text/javascript"></script>
<script src="scriptaculous.js" type="text/javascript"></script>
<script type="text/javascript" src="dragdrop.js"></script>

-----------------------------------------------------------------------------------------------------------

While I managed to effectively enable layer1 to be dragabal I have been
unsuccessful in finding the proper code to hide layer1 when it id
dropped on layer 2

If any one has any thoughts they would me immensely appreciated

404notfound

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs