Hi

Maybe this is a simple task, or maybe it is an impossible one, I dont
know. But here it goes:

Assume you have

<div id="containerDiv">
<div id="div_1"><img src="arrow.gif" ><a href="page.html">page</a></
div>
<div id="div_1"><img src="arrow.gif" ><a href="page.html">page</a></
div>
<div id="div_1"><img src="arrow.gif" ><a href="page.html">page</a></
div>
</div>

I want the img tag to be the only draggable element. So when you are
with the mouse over the image, it will be possibile to drag. But then
ALL THE DIV should be dragged. Is that clear?

I dont know how to do this. If I add the option tag: img to Sortable,
it doesnt help. I then tried also to give the images an id, like
img_1, img_2 and so on. Is this possible to solve?

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to