Hey.
Try this:

<ul id="dragme">
<a id="handle">handle</a>
    <li style="list-style:none;">
        <div>Body</div>
    </li>
</ul>

<?php echo $ajax->drag('dragme',array('handle'=>'handle'); ?>

Here is a drag 'n drop tutorial (although handles aren't used in the
tutorial)
http://dieter.plaetinck.be/drag_n_drop_tutorial_with_cakephp_ajax_prototype_scriptaculous

On Jun 8, 9:44 pm, Michael Augustyniak <[EMAIL PROTECTED]>
wrote:
> my code
> basiscly problem is that I can drag all div whenever I click and drag
> I need to drag a div but by pressing on some point , link inside the div.
> So probably I need to use handle option but do not know how to use it.
>
> <ul id="dragme">
>     <li style="list-style:none;">
>         <div>Body</div>
>     </li>
> </ul>
>
> <?php echo $ajax->drag('dragme'); ?>
>
> can you help me pleaseeeeeeeees :)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to