Is this what you want to achieve?

handle          V1.0    (none)          Makes the created Draggables use 
handles, see
the handle option on Draggables.

Go to http://wiki.script.aculo.us/scriptaculous/show/Sortable.create

There're lots of options listed there.

On Jul 23, 2:09 am, cake_n00b <[EMAIL PROTECTED]> wrote:
> I am trying to create a form where I can reorder a group of tables
> using Ajax, yet still be able to highlight and copy data from the
> cells within the table.  The code below is an example of what I am
> doing.  This code allows me to drag and drop the tables to change the
> order just fine.  The problem I am having is I am unable to select/
> copy text from within the table.  Is there anyway I can set this up so
> the table drag only occurs when clicking on the header?  I am
> relatively new to using Ajax so I apologize if I am missing something
> obvious.
>
> <div id="group">
>     <table id="table1">
>         <tr><th>Table 1</th></tr>
>         <tr><td>Useful data1</td></tr>
>     </table>
>
>     <table id="table2">
>         <tr><th>Table 2</th></tr>
>         <tr><td>Useful data2</td></tr>
>     </table>
>
>     <table id="table3">
>         <tr><th>Table 3</th></tr>
>         <tr><td>Useful data3</td></tr>
>     </table>
> </div>
>
> echo $ajax->sortable( 'group', array( 'tag' => 'table' ) );


--~--~---------~--~----~------------~-------~--~----~
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