noneothers Posted July 5, 2008 Share Posted July 5, 2008 Hi, I am currently using the drag and drop method for a picture and I’m having some problems. While the Background script allows it to drag and drop perfectly, the Image method constantly errors (picture doesn’t always drag and the cursor changes into Ø at times). Can someone please tell me how to fix this? Thanks! --------------- Background: <div style='border:0px;position:relative;background-repeat:no- repeat;cursor:move;background-image:url("+MatchC['url']+"/ theme_photo/"+id+"/"+filename+");margin:"+line['Top']+" "+line['Left'] +";width:"+width+"px;height:"+height+"px;' onmousedown='layerMove($ (\"imgFor_"+num+"\"),event)'> </div> Image: <div style='border: 0px;position:relative;cursor:move;margin:"+line['Top']+" "+line['Left'] +";width:"+width+"px;height:"+height+"px;' onmousedown='layerMove($ (\"imgFor_"+num+"\"),event)'><img src='"+MatchC['url']+"/ theme_photo/"+id+"/"+filename+"'></div> Link to comment https://forums.phpfreaks.com/topic/113305-problems-with-drag-drop-script/ Share on other sites More sharing options...
bluejay002 Posted July 5, 2008 Share Posted July 5, 2008 I think this should be moved to JavaScript, what do you think modo? Link to comment https://forums.phpfreaks.com/topic/113305-problems-with-drag-drop-script/#findComment-582149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.