Forum Moderators: coopster

Message Too Old, No Replies

Need to drag and drop multiple elements into box on same page

         

galahad2

4:50 pm on Dec 9, 2015 (gmt 0)

10+ Year Member



Hi, I need to be able to drag and drop various elements from a product detail page on my site, into a box in a side column on the same page. The problem is, these elements might be the product's image, or a PDF technical spec document, or an architectural drawing file- so at least 3 different formats.

I've seen various scripts that claim to do "drag and drop" functionality but none appear to do what I want.

The idea is the box will gradually fill with whatever items the user decides to add into it. They can then email those items to the site owner by clicking a button at the bottom of the box, so the site owner knows what they're interested in and can respond accordingly.

The other complication is that this is all set up in a PHP-based content management system (MODX) so would need to integrate with that somehow.

I don't know if this is remotely possible but perhaps someone has some ideas?

jinxed

5:04 pm on Dec 9, 2015 (gmt 0)

10+ Year Member



You'll need JavaScript, PHP is a server side language and this would need a client side solution.

itsraghz

6:01 am on Jan 21, 2016 (gmt 0)

10+ Year Member



Yes, you certainly need a Javascript - in its own plain native version. or more better you can have jQuery with Ajax combination to have it more intuitive to get the rich, clean and nice UI experience for the movement of items from source to target.