PDA

View Full Version : click and drag image on website


HappyTomato
12-09-2002, 09:04 PM
Can someone tell us how can we let user click(just one click) on an image on a web page and the image will stick to the mouse pointer and be able to be moved around the page until user clicks again to drop the image to whichever position the point is at?

We've search through heaps of sites and just can't find anything that can help us, if someone can at least tell us where abouts we can find such information it'll be greatly appreciated.

Bo & Vic

vegeta
12-09-2002, 09:12 PM
IE only : http://www.dynamicdrive.com/dynamicindex4/image3.htm

vegeta
12-09-2002, 09:14 PM
hmmm you can modify a script like this http://www.dynamicdrive.com/dynamicindex4/bounceimage.htm ... I used this one to create a scrollbar :p

more @ http://www.dynamicdrive.com/dynamicindex4/

HappyTomato
12-09-2002, 09:39 PM
thank you both of you...:o but first of all i'd like the image to be clicked and stick to the mouse pointer rather than being dragged.... second of all... i kinda need it to work on Mozilla as wel.... >.< ....

does anybody has other ideas? please?

Graeme Hackston
12-09-2002, 10:41 PM
Not exactly what you're asking for but well done. IE only

http://www.brothercake.com/scripts/dock.php