Re: [jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread Peter Edwards
No problem, $(document).ready(function(){ }); and $(function(){ }); are the same - both will run whatever you have in them when the DOM is ready - the second is just a kind of shorthand for the (much easier to read) first. Docs: .ready() http://api.jquery.com/ready/ $(callback) http://api

[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi Peter, Indeed! It works ;-) THANKS! It was enough to remove line with >> $("#elements").sortable(); << So, what is the right place to put: $("#elements").sortable(); ? in my example: the first place was outside "$(document).ready(function()" the second place (where I added event) was inside "$

Re: [jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread Peter Edwards
In your example, you have two calls to $('#elements').sortable(). The second one has the update event added, but the first (the one which creates the sortable) doesn't. If you add the update handler to the first call, it works OK. on 23/02/2010 08:26 rafald said:: Hi , please check this: http

[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi , please check this: http://jsbin.com/oququ3/6/edit As you can see: - sortable list works - accordion works ...but: - POPUP 'update' does not come what could be wrong here? regards Rafal

[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi , please check this: http://jsbin.com/oququ3/6/edit As you can see: - sortable list works - accordion works ...but: - POPUP 'update' does not come what could be wrong here? regards Rafal

[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi , please check this: http://jsbin.com/oququ3/6/edit As you can see: - sortable list works - accordion works ...but: - POPUP 'update' does not come what could be wrong here? regards Rafal

[jQuery] Re: Sortable list - even when list is changed

2010-02-23 Thread rafald
Hi , please check this: http://jsbin.com/oququ3/6/edit As you can see: - sortable list works - accordion works ...but: - POPUP 'update' does not come what could be wrong here? regards Rafal

Re: [jQuery] Re: Sortable list - even when list is changed

2010-02-22 Thread Nathan Klatt
On Mon, Feb 22, 2010 at 11:10 AM, rafald wrote: > ok...I see on you page it works...I double checked my code. > ... > but the problem is I need accordion as well. If you update the jsbin page to how you think it should be (i.e., add the accordion) I'd be happy to look into what's wrong. :) Go to

[jQuery] Re: Sortable list - even when list is changed

2010-02-22 Thread rafald
ok...I see on you page it works...I double checked my code. Here what happens WHEN I replace THIS: $(function(){ $("#elements").sortable(); $("#elements").disableSelection(); }); $(function() { $("#accordion").accordion(); }); $(document).ready(function(){ $('#elements').sortable({ update: func

[jQuery] Re: Sortable list - even when list is changed

2010-02-22 Thread rafald
On 22 Lut, 03:43, Nathan Klatt wrote: > Hi Rafal, > > In what way does it not work? I transcribed your code into jsbin and > it seems to be fine, though I don't have any roundbox styling being > applied: > > http://jsbin.com/oququ3/edit > > Nathan Hi I am not surpised you don't get it rounded ;-

[jQuery] Re: Sortable: get the element that received the sortable?

2009-10-20 Thread Richard D. Worth
On Mon, Oct 19, 2009 at 7:29 AM, Matt wrote: > > Anyway: is there a way that I can get the element that has received > the sortable item? It could be one of three in my case, and I only > want this code to be added for two of them. > > $(this) If you have any more questions about this plugin, pl

[jQuery] Re: Sortable inside an accordion

2009-09-29 Thread Pedro
Sorry Karl. Thanks for answering! On Sep 15, 11:43 pm, Karl Swedberg wrote: > Hi Pedro, > > That sounds like a great question for the jQuery UI Google Group.   > Would you mind posting it there?http://groups.google.com/group/jquery-ui/ > > Thanks, > > --Karl > > > Karl Swedbergwww.e

[jQuery] Re: + sortable?

2009-09-23 Thread Mean Mike
I am currently trying to get jtree to do this it is very light weight I and easy to use but it may be too light weight I need to figure out how to get the reordered tree to work with nested sets so I'm not sure if I use jqeury to renumber the left and right or if I send ajax to php and do processi

[jQuery] Re: Sortable inside an accordion

2009-09-15 Thread Karl Swedberg
Hi Pedro, That sounds like a great question for the jQuery UI Google Group. Would you mind posting it there? http://groups.google.com/group/jquery-ui/ Thanks, --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 15, 2009, at 4:04 PM, Pedro wrote: Hi al

[jQuery] Re: Sortable

2009-07-06 Thread tecmo
On Jul 6, 1:36 pm, Thales Lacerda wrote: > Hi, > > I'm using sortable and must get the id of the element being moved. > > Somebody help me? > > My code: > > $(function() { > $("#sortable").sortable(); > $("#sortable").disableSelection(); > > }); > > > > > Item 1 > Item 2 > Item 3 > Item 4 > I

[jQuery] Re: Sortable Gallery?

2009-06-11 Thread James
Jack, That's the one! Thanks SO much. I must not have dug deep enough on nettuts. Appreciate the help. Thanks again. -James On Jun 10, 10:09 pm, Jack Killpatrick wrote: > Maybe this is the tutorial:   > http://nettuts.com/tutorials/javascript-ajax/creating-a-filterable-po... > > - Jack > > J

[jQuery] Re: Sortable Gallery?

2009-06-10 Thread Jack Killpatrick
Maybe this is the tutorial: http://nettuts.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/ - Jack James wrote: Hey all, I am new to jquery. Managed so far to get a carousel up and going, some tabbed interfaces etc. Nothing spectacular. A week or so ago, I found

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Richard D. Worth
I wonder if this demo will give you some ideas: http://jqueryui.com/demos/sortable/#connect-lists-through-tabs It's sortable lists that are connected even though they're on separate tabs. If you decided to do something like this and need some help, here would be the place to ask: http://groups.g

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread DanN
Got that sorted, now for something tougher. Say I have two seperate accordions in two areas of a page (two seperate tabs), can I make items movable between those two accordions. Basically each accordion draw hosts a seperate tool my coworkers and I use daily, however every person uses a different

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Danny Nolan
yep, took me a while to realize that :) Implemented the extra layer of divs and its working great! Thank you so much! UL-LIs was for the tabs above, not involved, my mistake :) --- On Fri, 5/15/09, Richard D. Worth wrote: From: Richard D. Worth Subject: [jQuery] Re: Sortable accordion-like

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Richard D. Worth
static. How to get past > that? > > --- On *Fri, 5/15/09, Richard D. Worth * wrote: > > > From: Richard D. Worth > Subject: [jQuery] Re: Sortable accordion-like widget > To: jquery-en@googlegroups.com > Date: Friday, May 15, 2009, 10:51 AM > > > Sure, here you

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Danny Nolan
le-1-s")             .end().next().toggleClass("ui-accordion-content-active").toggle();             return false;         })         .next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").hide();         //$("#accordion1").sorta

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Danny Nolan
Almost, I found it worked almost, except for the fact that the sortable affected only the UL-LI objects, the contents were static. How to get past that? --- On Fri, 5/15/09, Richard D. Worth wrote: From: Richard D. Worth Subject: [jQuery] Re: Sortable accordion-like widget To: jquery-en

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Richard D. Worth
uery, the old code was partially provided by > someone else with a few edits, so not sure how to create that new level you > was talking about. > > --- On *Thu, 5/14/09, Richard D. Worth * wrote: > > > From: Richard D. Worth > Subject: [jQuery] Re: Sortable accordion-like wi

[jQuery] Re: Sortable accordion-like widget

2009-05-15 Thread Danny Nolan
Example? Im very new to jQuery, the old code was partially provided by someone else with a few edits, so not sure how to create that new level you was talking about. --- On Thu, 5/14/09, Richard D. Worth wrote: From: Richard D. Worth Subject: [jQuery] Re: Sortable accordion-like widget To

[jQuery] Re: Sortable accordion-like widget

2009-05-14 Thread Richard D. Worth
You'll need to add an extra level: section divs containing each related h3 and content div. Then you can call .sortable() the main div#accordion1 - Richard On Thu, May 14, 2009 at 9:38 PM, DanN wrote: > > Got this coded, its an accordion like tool. It functions just how I > need it, except id l

[jQuery] Re: sortable serialize doesn't work

2009-03-31 Thread Richard D. Worth
Your LIs need IDs. See http://docs.jquery.com/UI/Sortable#method-serialize If you have any further questions about jQuery UI plugins, please post here: http://groups.google.com/group/jquery-ui - Richard On Tue, Mar 31, 2009 at 3:13 AM, shichuanr wrote: > > I have a strange problem with sorta

[jQuery] Re: sortable helper

2009-03-21 Thread Richard D. Worth
There's a separate mailing list for help with jQuery UI: http://groups.google.com/group/jquery-ui - Richard On Fri, Mar 20, 2009 at 6:37 PM, richajax wrote: > > I am using jquery sortable in the latest version (1.7.1) , and found > out helper and placeholder option is not quite working > as I

[jQuery] Re: sortable helper

2009-03-20 Thread Steve Vu
Not sure if this will work for you but it will let you set off a chain of effects: http://plugins.jquery.com/project/EffectChain richajax wrote: I am using jquery sortable in the latest version (1.7.1) , and found out helper and placeholder option is not quite working as I was expecting.

[jQuery] Re: Sortable problems

2009-03-19 Thread Muhammad Zaheer Asghar
http://lattestphones.blogspot.com/ http://latesttechnologyblog.blogspot.com/ http://home-safety-tips.blogspot.com/ On 3/18/09, err_ok wrote: > > > I am having some problems with the sortable plugin, most annoyingly in > firefox instead of drag and drop functionality it seems to be click > once

[jQuery] Re: Sortable problems

2009-03-19 Thread Richard D. Worth
There's a dedicated list for help with jQuery UI: http://groups.google.com/group/jquery-ui - Richard On Wed, Mar 18, 2009 at 10:16 AM, err_ok wrote: > > I am having some problems with the sortable plugin, most annoyingly in > firefox instead of drag and drop functionality it seems to be click >

[jQuery] Re: Sortable: zIndex conectWith IE7 - Sortable stays behind seond sortable li's in IE7(possibly others)

2009-03-02 Thread BigAB
Indeed. Sorry. Tabs. Really.

[jQuery] Re: Sortable: zIndex conectWith IE7 - Sortable stays behind seond sortable li's in IE7(possibly others)

2009-02-26 Thread Richard D. Worth
As it relates to jQuery UI, we'd love to help you with this question over here: http://groups.google.com/group/jquery-ui Thanks. - Richard On Wed, Feb 25, 2009 at 3:25 PM, BigAB wrote: > > Hi there. I did a search for zIndex IE7 but didn't seem to find this > issue in particular. > > Example

[jQuery] Re: Sortable: change input field value on receive

2009-02-10 Thread robertaugustin
Thanks Richard, that gave me the clue. What I have now is: $(this).find('input.changethis').val('ABC'); - and it works perfectly. Thanks again! On Feb 10, 3:49 am, "Richard D. Worth" wrote: > Try this: > > $(this).children().children('input.changethis').val('ABC'); > > - Richard > > On Mon, F

[jQuery] Re: Sortable: change input field value on receive

2009-02-09 Thread Richard D. Worth
Try this: $(this).children().children('input.changethis').val('ABC'); - Richard On Mon, Feb 9, 2009 at 5:30 PM, robertaugustin wrote: > > Hi, > I have this: > > $('.sort').sortable({ > receive: function(){ > $(this).children().children('input.changethis').value = 'ABC'; > } > }); > >

[jQuery] Re: sortable update problem

2009-02-02 Thread Tom Shafer
works perfectly, thank you very much -Tom On Feb 2, 12:32 pm, "Richard D. Worth" wrote: > jQuery UI 1.5.3 is only compatible with jQuery 1.2.6. In order to use jQuery > UI with jQuery 1.3+, you'll need the latest preview release1.6rc6. It is > compatible with 1.3 (but not 1.2.6), and the final

[jQuery] Re: sortable update problem

2009-02-02 Thread Tom Shafer
On Feb 2, 12:32 pm, "Richard D. Worth" wrote: > jQuery UI 1.5.3 is only compatible with jQuery 1.2.6. In order to use jQuery > UI with jQuery 1.3+, you'll need the latest preview release1.6rc6. It is > compatible with 1.3 (but not 1.2.6), and the final release is scheduled for > tonight. See >

[jQuery] Re: Sortable callback?

2009-02-02 Thread Richard D. Worth
On Mon, Feb 2, 2009 at 12:33 PM, chriscoyier wrote: > > [I realize there is a different group for jQuery UI, but despite being > a member and seemingly successfully posting, the message never showed > up.] First posts are moderated to guard against spam (about 50% that come into the queue are s

[jQuery] Re: sortable update problem

2009-02-02 Thread Richard D. Worth
jQuery UI 1.5.3 is only compatible with jQuery 1.2.6. In order to use jQuery UI with jQuery 1.3+, you'll need the latest preview release1.6rc6. It is compatible with 1.3 (but not 1.2.6), and the final release is scheduled for tonight. See http://blog.jquery.com/2009/01/30/jquery-ui-16rc6-help-us-t

[jQuery] Re: sortable portlets

2009-01-22 Thread posh beck
On Tue, Jan 20, 2009 at 8:01 PM, shmuelzon wrote: > > hey, > > i'm new to the whole jQuery scene, and i'm trying to create a small > portal with frames you can rearrange (igoogle style) > i've seen this demo: > ht

[jQuery] Re: sortable portlets

2009-01-21 Thread shmuelzon
thanks! not sure how i missed that in the documentation On Jan 20, 3:50 pm, besh wrote: > You can use the "handle" option of the sortable. In this case it would > look like this: > > $(".column").sortable({ >         handle: '.portlet-header', >         connectWith: ['.column'] > > }); > > -- >

[jQuery] Re: sortable portlets

2009-01-20 Thread besh
You can use the "handle" option of the sortable. In this case it would look like this: $(".column").sortable({ handle: '.portlet-header', connectWith: ['.column'] }); -- Bohdan Ganicky On Jan 20, 1:01 pm, shmuelzon wrote: > hey, > > i'm new to the whole jQuery scene, and i'm tr

[jQuery] Re: sortable jQuery 1.3 don't work well

2009-01-15 Thread Alexsandro_xpt
Thanks Richard Worth, I will wating for. Thz.. On 15 jan, 08:30, "Richard D. Worth" wrote: > jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the > svn trunk > > http://docs.jquery.com/UI/Subversion > > or wait until tomorrow as 1.6rc5 (which will be compatible with 1.3)

[jQuery] Re: sortable jQuery 1.3 don't work well

2009-01-15 Thread Richard D. Worth
jQuery UI 1.6rc4 is not compatible with jQuery 1.3. You can either grab the svn trunk http://docs.jquery.com/UI/Subversion or wait until tomorrow as 1.6rc5 (which will be compatible with 1.3) is coming today. - Richard On Wed, Jan 14, 2009 at 7:27 PM, Alexsandro_xpt wrote: > > Now I'm using t

[jQuery] Re: Sortable...flash object losing its state when dragged. See example

2008-12-23 Thread Ricardo Tomasi
Hmm. I think you can't do that kind of 'sorting' with elements if you don't want the content reloaded. Everytime you change an element's position in the DOM it's actually being removed and inserted again, not moved. You'll need to use the "simple drag" functionality, and figure out a way of 'sorti

[jQuery] Re: sortable issue

2008-12-08 Thread Bhavin
Thanks Richard. I think, I was confused about approach. I sortout this issue by taking all the elements on update of the sequence and then compare it with existing data in session and firing updates to only elements which are changed. On Dec 6, 1:12 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrot

[jQuery] Re: sortable not firing always in FF,IE. Safari works fine!

2008-12-08 Thread Richard D. Worth
Where you have $("#staerke1").sortable({ connectWith: ["#staerke2"], update: liCounting(), placeholder:"placeholder" }); change update: liCounting() to update: liCounting The former will call the liCounting function once and set the update option to have the return value of the fu

[jQuery] Re: sortable issue

2008-12-06 Thread Richard D. Worth
I posed the example as I did because when you move element 5 from position 5 to position 2 you are only moving one element, but it's affecting the position of 4 elements (2, 3, 4, 5). So when you say you only want to know about two elements, I'm confused about which two you would be talking about i

[jQuery] Re: sortable issue

2008-12-06 Thread Bhavin
Hi Richard, Thanks for replying. I am trying to save /update sequence of elements whenever it is changed. In following example, if you move 3rd element at 2nd position then I wanted those two elements only in JS instead of complete list. But it looks when we change sequence and try to save the or

[jQuery] Re: sortable issue

2008-12-06 Thread Richard D. Worth
I'm not sure your sample provides quite enough detail of what you're going for. If you have the following and you drag 5 to be in-between 1 and 2, like so, then what do you want? - Richard On F

[jQuery] Re: sortable links

2008-10-29 Thread andre
Which version of jQuery and jQuery UI worked for you? I tried with jQuery 1.2.6 and jQuery UI 1.5.2 stable and 1.6rc2 and still have the same issue.

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: sortable links

2008-10-16 Thread Adam
I suspect it might be an issue with the version I was using. I changed versions, and it works okay now without any hiccups. thanks, Adam On Oct 13, 11:58 am, MorningZ <[EMAIL PROTECTED]> wrote: > Hmmm... here's some example code i worked up really quick > > http://paste.pocoo.org/show/87852/ >

[jQuery] Re: sortable links

2008-10-13 Thread Alexandre Plennevaux
> are. > > > > > -Original Message- > > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] > On > > > > > Behalf Of MorningZ > > > Sent: Monday, October 13, 2008 9:04 AM > > > To: jQuery (English) > > > Subject: [

[jQuery] Re: sortable links

2008-10-13 Thread MorningZ
the link itself. > > > > > Remember that a link isn't technically a list, but a group of li tags > > are. > > > > > -Original Message- > > > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] > > On > > > > >

[jQuery] Re: sortable links

2008-10-13 Thread Adam
st, but a group of li tags are. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of MorningZ > Sent: Monday, October 13, 2008 9:04 AM > To: jQuery (English) > Subject: [jQuery] Re: sortable links > > if you don&#x

[jQuery] Re: sortable links

2008-10-13 Thread MorningZ
li tags are. > > > -Original Message- > > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > > Behalf Of MorningZ > > Sent: Monday, October 13, 2008 9:04 AM > > To: jQuery (English) > > Subject: [jQuery] Re: sortable links > > > if

[jQuery] Re: sortable links

2008-10-13 Thread Adam
st, but a group of li tags are. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of MorningZ > Sent: Monday, October 13, 2008 9:04 AM > To: jQuery (English) > Subject: [jQuery] Re: sortable links > > if you don&#x

[jQuery] Re: sortable links

2008-10-13 Thread MorningZ
if you don't want the user to go anywhere when clicking on a link, then why use a link? On Oct 13, 9:50 am, Adam <[EMAIL PROTECTED]> wrote: > Using the jquery UI plugin, I have setup a list of links (anchors) to > be sortable, but after I > sort an item, the link is executed, and I am taken to t

[jQuery] Re: sortable links

2008-10-13 Thread Andy Matthews
ically a list, but a group of li tags are. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MorningZ Sent: Monday, October 13, 2008 9:04 AM To: jQuery (English) Subject: [jQuery] Re: sortable links if you don't want the user to go anywher

[jQuery] Re: sortable links

2008-10-13 Thread MorningZ
btw, just in case you must use 's... then maybe something like this would solve your issue if (sortable functionality is active) $("#ID_of_Sortable_Container a").click(function() { return false; }); else // sortable functionality is turned off $("#ID_of_Sortable_Container a").unbind();

[jQuery] Re: sortable links

2008-10-13 Thread Andy Matthews
There's probably a "return false" option in the plugin options. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Adam Sent: Monday, October 13, 2008 8:50 AM To: jQuery (English) Subject: [jQuery] sortable links Using the jquery UI plugin, I hav

[jQuery] Re: Sortable blocks all other events

2008-06-26 Thread e2e
Thank you. I've already solved my problem by adding "handle" to sortable options. Your solution worked too. I'll use it for other areas where I can't set a handle. Thanks again... On Jun 25, 6:52 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > This has been fixed in svn and will be in the n

[jQuery] Re: Sortable blocks all other events

2008-06-25 Thread Richard D. Worth
This has been fixed in svn and will be in the next release (1.5.1, due tomorrow). The work-around for 1.5 is to set the distance option to a value greater than 0 (in 1.5.1 the default is 1). Example: $("#myList").sortable({ distance: 1 }); This will allow clicks to go through, and won't start s

[jQuery] Re: Sortable - onUpdate

2008-06-04 Thread Richard D. Worth
That's right. Interface is no longer being supported/improved and is being replaced by jQuery UI. You can think of it as the next version of Interface, but it's totally reworked. - Richard On 6/4/08, denise <[EMAIL PROTECTED]> wrote: > > That explains the problem, there are two separate librarie

[jQuery] Re: Sortable - onUpdate

2008-06-04 Thread denise
That explains the problem, there are two separate libraries jQuery/UI and Interface. Duh. I think I like the one for Interface better, but it looks as though they may be unsupported now. Does anyone know the status? Thank, d. On Jun 3, 7:31 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: >

[jQuery] Re: Sortable - onUpdate

2008-06-03 Thread Richard D. Worth
There is a dedicated mailing list for jQuery UI plugins: http://groups.google.com/group/jquery-ui Here's the documentation for sortables: http://docs.jquery.com/UI/Sortables/sortable#options (click the Options tab) The callback you want is called 'sort'. It's called for each mousemove during th

[jQuery] Re: Sortable - onUpdate

2008-06-03 Thread anthonyd
Not too sure what you are trying to do but, $("#divid").sortable({ update: function(e,ui) { alert($ ('#divid').sortable('toArray')); } }); works for me. Hope this helps, Ant. On Jun 3, 11:17 pm, denise <[EMAIL PROTECTED]> wrote: > Hi, > > I'm very impressed with the plugins available for jQue

[jQuery] Re: Sortable Checkbox

2008-06-03 Thread Jake McGraw
On Mon, Jun 2, 2008 at 2:45 PM, Kandy I <[EMAIL PROTECTED]> wrote: > > Are there any plugins like on Apple's Pro site, with the sortable > checkbox? > > http://www.apple.com/pro/profiles/ If you would like the specific functionality provided by Apple's site, it would be trivial to implement yours

[jQuery] Re: sortable: drag list items by custom handle

2008-05-09 Thread emi polak
Thank you tlphipps! It was under my nose all the time... emi On Thu, May 8, 2008 at 4:13 PM, tlphipps <[EMAIL PROTECTED]> wrote: > > You need to use the "handle" option as detailed here: > http://docs.jquery.com/UI/Draggables/draggable#options > (the sortable docs refer you to this description f

[jQuery] Re: sortable: drag list items by custom handle

2008-05-08 Thread tlphipps
You need to use the "handle" option as detailed here: http://docs.jquery.com/UI/Draggables/draggable#options (the sortable docs refer you to this description for that handle option) On May 8, 4:09 am, "emi polak" <[EMAIL PROTECTED]> wrote: > Hi there, > I am using $("#myList").sortable({}); to "s

[jQuery] Re: Sortable Serialization for nested lists

2008-04-09 Thread Scott Sauyet
Scott Sauyet wrote: I think there's a problem with the serialization of nested lists inside Sortables. I have an altered version of the demo here: http://scott.sauyet.com/issues/2008-04-08a/ Hearing no suggestions, I hacked together something which works for my case: http://scott.s

[jQuery] Re: Sortable + Draggable/Sortable

2007-12-06 Thread Guy Fraser
danielpunt wrote: > Hi all, > > I have two unordered lists and both its listitems are draggable and > droppable on the other list. Until this point everything is working > exactly as it should. > > But, one of the lists should be sortable, and thats where it goes > wrong. The list isn't sortable an

[jQuery] Re: Sortable on dynamic content - how to?

2007-12-05 Thread Jay W
You can also use $("ul.items").sortableRefresh() to make all items sortable after dynamically creating an item from javascript. On Nov 12, 5:34 pm, asle <[EMAIL PROTECTED]> wrote: > Thanks, your first suggestion works and is shorter than writing the > sortable code again. > But this does not work

[jQuery] Re: sortable problem ...

2007-11-24 Thread jonlesser
The latest version in the SVN trunk seems to solve the problem. http://jqueryjs.googlecode.com/svn/trunk/ui/current/ui.sortable.js See also the discussion in the jquery-ui google group http://groups.google.com/group/jquery-ui/browse_thread/thread/6374dccb1a47597c/4622adeb0c9dbb83 -Jon [EMA

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-13 Thread asle
Thanks, your first suggestion works and is shorter than writing the sortable code again. But this does not work: var myi = 1; $("#additem").click(function(){ $('ul.items') .append('new item') .SortableAddItem( $('li.newitem'+myi) ); myi++; });

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-12 Thread webrocker
hm... multiple IDs are definetly not valid. But I think you could easily replace the part: $("#additem").click(function(){ $('ul.items') .append('new item') .SortableAddItem(document.getElementById('newitem')); }); with something like this: var myi = 1; $("#additem").click(function()

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-12 Thread asle
Thanks webrocker, sorry for my frustration. I solved this myself and saw your reply which was exactly what solved it. In the sortable plugin you can declare a new object as a .Sortable. I was a bit lost about "listen" and "live query". Still a couple of things I am not sure about: - I think you n

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-12 Thread webrocker
hi, I would try and re-declare the .Sortable object after you've appended the content and see if that works. This would mean that the .Sortable object works only on elements present inside the ul the moment the object is "given". Prior to this I would have a look at the generated source after you'

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-11 Thread asle
Where do I go for help on this. Anyone?

[jQuery] Re: Sortable on dynamic content - how to?

2007-11-10 Thread asle
Anyone have an idea as how to make a dynamic element droppable?? Anyone? On Nov 10, 12:31 am, asle <[EMAIL PROTECTED]> wrote: > Hello, > I have a list with sortable elements "" using the Interface > plugins. This works fine. But when I add a new element with ".append" > the new element is not dr

[jQuery] Re: sortable problem ...

2007-10-29 Thread [EMAIL PROTECTED]
Right now, as a workaround, I'm just manually calling my update function where it should be calling the callback function. Just a hack until they fix it.. I spoke with John and he's aware of the issue, but didn't give me a timeframe on resolution. On Oct 27, 10:32 am, df-sean <[EMAIL PROTECTED]

[jQuery] Re: sortable problem ...

2007-10-27 Thread df-sean
It's really too bad that this is left unfixed for so long. For the project I'm currently working on, I think I'm going to have to switch to Prototype in order to get a working Sortable list :-( I love jquery and would love to stick with it, but it needs to work (including the UI effects). Sigh...

[jQuery] Re: sortable problem ...

2007-10-26 Thread [EMAIL PROTECTED]
I just found this same issue, was trying to get some sortables to do an ajax call and couldn't get stop or update to work... Has anyone found a solution or work around for this? On Oct 24, 6:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have started to user the Sortables and I see th

[jQuery] Re: sortable problem ...

2007-10-24 Thread [EMAIL PROTECTED]
I have started to user the Sortables and I see that update doesn't callback to the function properly, nor does stop. After looking through ui.sortables.js I see that it's not even coded in. The update callback is commented out and stop isn't even coded in. How am I supposed to do my AJAX call w

[jQuery] Re: Sortable List (interface plug-in) -Sort multiple identical list

2007-09-05 Thread bucky483
Here is an example.sort of Green List Red List ____ |__Item 1__||__Item 1__| ____ |__Item 2__|

[jQuery] Re: Sortable List (interface plug-in) -Sort multiple identical list

2007-09-05 Thread bucky483
Green List Red List ____ |__Item 1__||__Item 1__| ____ |__Item 2__||__Item 2_

[jQuery] Re: Sortable List Problems (Interface plugin)

2007-08-28 Thread quayfee
Hi Richard, Thanks for letting me know about the update. I've got plenty to be learning in the mean time so I'll have a look at the new release. Cheers Keith Richard D. Worth-2 wrote: > > Interface sortables has a couple of little quirks like this. It is still > an > official plugin, meani

[jQuery] Re: Sortable List Problems (Interface plugin)

2007-08-28 Thread Richard D. Worth
Interface sortables has a couple of little quirks like this. It is still an official plugin, meaning major bugs (regression issues) are fixed, but no new features are being added. The focus of development is on the next version, a rewrite (which should more easily support updates for issues like th

[jQuery] Re: Sortable Lists

2007-07-12 Thread ocyrus
Anything? ocyrus wrote: > > I am attempting to build a forms page, however using some sample code the > page is draggable > > After using a simple jqeury statement to add to this form, nothing is > draggable/sortable. However before it was. > Is there another way of doing this, or am I doing

[jQuery] Re: Sortable reverting to original state

2007-06-15 Thread bhagany
I don't know if this is still a problem for you, but I believe your invocation of the "containment" parameter is wrong. If I'm reading the documentation right, "containment" expects the literal value "parent", not whatever the parent's id is. With that said, I can't actually get containment to w

[jQuery] Re: Sortable reverting to original state

2007-04-23 Thread John C. Bland II
No, the elements don't exist at the same time. On 4/23/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: John, >No, I went straight to the container vs walking it with #left > >div.sortables. My question was does the selector "#left > div.sortables" also retrieve the specific ID? I'm wonder

[jQuery] Re: Sortable reverting to original state

2007-04-23 Thread Dan G. Switzer, II
John, >No, I went straight to the container vs walking it with #left > >div.sortables. My question was does the selector "#left > div.sortables" also retrieve the specific ID? I'm wonder if you're attaching 2 different behaviors to the same element. -Dan

[jQuery] Re: Sortable reverting to original state

2007-04-23 Thread John C. Bland II
No, I went straight to the container vs walking it with #left > div.sortables. I keep drudging through it and see if I can get it working. Is there a way to use the non-compressed version of JS? On 4/23/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: John, >I wish I could show the page bu

[jQuery] Re: Sortable reverting to original state

2007-04-23 Thread Dan G. Switzer, II
John, >I wish I could show the page but I can't (it is a cms that is protected). >Here is the code: The problem is the problem most likely resides in the DOM structure/CSS declarations--so just seeing the invocation code isn't of too much help. I would recommend isolating your HTML/CSS into a s

[jQuery] Re: Sortable reverting to original state

2007-04-22 Thread John C. Bland II
I wish I could show the page but I can't (it is a cms that is protected). Here is the code: This one reverts. // drag and drop content items in content_right $("#contentSortContainerLeft").Sortable({ accept: 'entry-block', activeclass: 'sortableactive', hoverclass: 'sortablehover', helperc

[jQuery] Re: Sortable reverting to original state

2007-04-22 Thread Dan G. Switzer, II
John, >Hello? Anyone? Your description w/out code to reference is pretty vague. I would guess you'd get more help if you provide a link to the page that's causing the problem--or an example of the problem. -Dan >On 4/21/07, John C. Bland II <[EMAIL PROTECTED]> wrote: > > Ok...this one is

[jQuery] Re: Sortable reverting to original state

2007-04-22 Thread John C. Bland II
Hello? Anyone? On 4/21/07, John C. Bland II <[EMAIL PROTECTED]> wrote: Ok...this one is dumb but it is happening and I can't see where/why. Same exact code is copied/pasted then tweaked slightly. The tweak is merely a change of which container ID to target and the css classes for respective el