View my response in the other thread:

http://groups.google.com/group/jquery-ui/browse_thread/thread/839859da5aefbe7c?hl=en&pli=1


On Jul 12, 10:22 am, Romuald Janik <[email protected]> wrote:
> [Sorry if duplicate but my original post did not appear on the group
> for more than a day..]
>
> I have a problem with jquery UI. I want to be able to drag/sort list
> elements ONLY when enabled explicitly by say
> $('#menu').sortable();
> Yet if I just load jquery-ui.js and there is a link <li><a
> href="">sth</a></li>
> I can drag it without enabling anything!
> It seems to be a bug or am I doing something wrong?
> I am using firefox 3 on ubuntu 9.04. Here is an example file with this
> problem:
>
> <html>
> <head>
> <script src="jquery-1.3.2.min.js" type="text/JavaScript"></script>
> <script src="jquery-ui-1.7.2.custom.min.js" type="text/javascript"></
> script>
> </head>
>
> <body>
>
> <ul id="menu">
>  <li><a>a</a></li>
>  <li><a>b</a></li>
>  <li><a href="">c</a></li>
>  <li><a href="">d</a></li>
> </ul>
>
> </body>
> </html>
>
> Items 'c' and 'd' can be dragged by the mouse without enabling
> anything for #menu!
>
> Is there a way to get rid of this behavior?
>
> I would be grateful for any answers..
> Best,
>
> Romuald
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to