Jump to content

problems with drag & drop script =(


noneothers

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.