[Proto-Scripty] Handle on sortable list doesn't work in IE.

2009-06-17 Thread Maya

I've assigned a handle on my sortable and it works fine in Firefox but
not at all in IE.   In IE you can use any of the elements in the LI to
reorder the list.  I would like to only be able to use the REORDER
element to reorder the list.  Any suggestions?

div id=dragDrop
ul class=sortlist id=list_to_sort
li id=item_1 class=sortlistItem Name - Date - Detail - span
id=thehandleREORDER/span/li
/ul
/div

 script language=JavaScript
Sortable.create(list_to_sort, {
elements:$$('#list_to_sort li.sortlist'),
handles:$$('#list_to_sort #thehandle'),
onUpdate: function() {
new Ajax.Request(updateRowOrder.cfm, {
method: post,
parameters: { data: Sortable.serialize(list_to_sort) }
});
}
});
/script
--~--~-~--~~~---~--~~
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-scriptaculous@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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: Handle on sortable list doesn't work in IE.

2009-06-17 Thread Maya

Perfect!  Thank you.  It works now.

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



[Proto-Scripty] Re: z-index sortable list

2009-06-16 Thread Maya

Thanks so much for your help!  I'll give it a go and see what happens.
--~--~-~--~~~---~--~~
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-scriptaculous@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
-~--~~~~--~~--~--~---



[Proto-Scripty] Re: z-index sortable list

2009-06-16 Thread Maya

Thanks so much for your help!  I'll give it a go and see what happens.

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



[Proto-Scripty] Re: z-index sortable list

2009-06-10 Thread Maya

I don't have much experience with this so I am having difficulty
figuring out how to set this up as per your first suggestion:

 To update the z-index after a change in the sortable, just use
 prototype DOM function like Element.firstDescendant() [1] and
 Element.next() [2] to update the DOM.
 When you set the z-index property, just use Element.setStyle
 ({zIndex:'100'}) [3].

Any suggestions?

Thanks so much!
--~--~-~--~~~---~--~~
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-scriptaculous@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
-~--~~~~--~~--~--~---



[Proto-Scripty] z-index sortable list

2009-06-09 Thread Maya

Hi,

How can you specify the z-index for a sortable list so that the first
list element is the highest number and the last list element is the
lowest.  I would also like the z-index to resort itself as the user
resorts the list items. So if the bottom list element is moved to the
top, it's z-index would update to be the highest number.

Any help would be greatly appreciated as I can't seem to find much
abou this.


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



[Proto-Scripty] Auto submit drag drop form?

2009-05-26 Thread Maya

How can you auto submit the form each time a record is dragged/dropped
without using a submit button?

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