We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32982
    • 674 Posts
    i could make a element dragable easy but i couldent make a div element droppable
    like in script.aculo.us page say the div need to have
    Droppables.add(’id_of_element’,[options]);
    i put
    <div id="formed" style=" width:500px; height:500px; background-color: #999999; layer-background-color: #999999; border: 1px none #000000;">

    <input type="submit" name="Submit" value="Enviar">
    </div><script type="text/javascript" language="javascript">
    Droppables.add(’ola’);
    </script>
    ola is the dragable objet (test whith ’formed’ too ) and dont work
    the dragable element dont go.
      Jabiertxof (formerly XYZVISUAL)
      My bussines: http://marker.es
      https://www.youtube.com/user/jabiertxof/videos
      • 25663 MODX Staff
      • 12,272 Posts
      I’ve found that the version of scriptaculous you use and the browser you’re trying to use it in tremendously affects the predicability of the results. It took about 3 hours of testing various revisions from the Scriptaculous subversion repository that would work reliably in IE for the QE toolbar for instance. And it was unfortunately an older version that might not have worked so well for the droppables. sad
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 32982
        • 674 Posts
        but i look well in ie and firefox this in oters page, i think the problem is modx version of prototype and scriptaculous could be a old version and update to the last version and still not working (i realy now not need quickedit and desactivate) could be a problem whith the overclass but i dont understand it well and fixed it whith the rubyonrails fixed javascript.
          Jabiertxof (formerly XYZVISUAL)
          My bussines: http://marker.es
          https://www.youtube.com/user/jabiertxof/videos
          • 32982
          • 674 Posts
          i could do putting hoverclass:’enything’
          but the problem i have is i want to drop a text field whith data to submit a form. is posibol?
            Jabiertxof (formerly XYZVISUAL)
            My bussines: http://marker.es
            https://www.youtube.com/user/jabiertxof/videos