http://wiki.script.aculo.us/scriptaculous/show/FAQ, question 4.3
Best,
-Thomas
Am 20.07.2006 um 08:04 schrieb Jeremy Clifton:
Hello all,
I'm using Scriptaculous 1.6.1 on a project I'm developing. My
generated HTML (generated by PHP) looks something like this:
Singletary, Bob (Preside
Hello all,
I'm using Scriptaculous 1.6.1 on a project I'm developing. My
generated HTML (generated by PHP) looks something like this:
Singletary, Bob (President/CEO)
Chatman, Jim (Vice President of Finance/CFO)
...
Sortable.create('admin-list', { onUpdate: function()
TECTED] On Behalf Of Justin McCormack
Sent: 11 July 2006 11:24
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs]
Scriptaculous Sortable within a Sortable
Hi,
Forgive me if this has been discussed/resolved before. I have done a search of
both this mailing list and the web, b
Thanks for your reply, but I don't actually want a tree. I want two independent lists - I don't want the user to be able to drag answer list items into the question list..Justin
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://l
Scripty 1.6.1 has a sortable tree. You just make a new sortable on the
parent list element and pass tree:true in options and it includes all
child lists to make one big sortable tree.
On 11/07/06, Justin McCormack <[EMAIL PROTECTED]> wrote:
Hi,
Forgive me if this has been discussed/resolved bef
Hi,Forgive me if this has been discussed/resolved before. I have done a search of both this mailing list and the web, but I can't find a solution to my problem (which is odd as I would think plenty of people would have the same requirement and therefore the same problem).
Basically, I have a OL of
In case anyone is interested, I just put together a demo using Sortable to preview Typo themes:http://www.dev411.com/typothemes/Nice to see it in action.
John
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.or
> > Ummm... I'm not sure if this is the "correct way". It may be the
> normal
> > way for
> > some languages/frameworks (PHP?), but it's not standard. Java, C and
> Perl
> > (just
> > a few off the top of my head) don't do it that the square-bracket
way.
>
> Well, you may be right, but I do rememb
> Ummm... I'm not sure if this is the "correct way". It may be the
normal
> way for
> some languages/frameworks (PHP?), but it's not standard. Java, C and
Perl
> (just
> a few off the top of my head) don't do it that the square-bracket way.
Well, you may be right, but I do remember reading it some
Gregory Hill wrote:
> No, that is just normal URL encoding %5b%5d is [], indicating that the
> argument should be treated as an array. I know that many systems will
> also create an array from the argument name if it simply passed more
> than once in the argument list. I.E.
> secondlist=1,secon
No, that is just normal URL encoding %5b%5d is [], indicating that the
argument should be treated as an array. I know that many systems will
also create an array from the argument name if it simply passed more
than once in the argument list. I.E.
secondlist=1,secondlist=2,secondlist=3 would creat
Hi Gregory,
thanks for figuring it out!
Another thing is, Sortable.serialize() returns following string:
Recieved Ajax Request:
Ajax=true&secondlist%5b%5d=1&secondlist%5b%5d=2&secondlist%5b%5d=3&secondlist%5b%5d=5&secondlist%5b%5d=4&_=
Seems strange to me (some sort of Base64 encoding?), do
Oops, 1 typo in there:
> node.id = 'item_' + (node.childNodes.length + 1);
node.childNodes.length should be $('secondlist').childNodes.length
Greg
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org
> > and then I add dynamically further elements and create a
Sortable
> > but the onUpdate only fires for items that have not been
created
> > via Javascript.
> >
>
> I wonder if that's the same issue I'm having. My elements were
created
> via javascript and I cannot get the onUpdate to fire a
> and then I add dynamically further elements and create a Sortable
> but the onUpdate only fires for items that have not been created
> via Javascript.
>
I wonder if that's the same issue I'm having. My elements were created
via javascript and I cannot get the onUpdate to fire at all. At lea
Hi,
maybe I am using this the wrong way but I have a list as follows
bla bla
bla bla
and then I add dynamically further elements and create a Sortable
but the onUpdate only fires for items that have not been created
via Javascript.
Any clues?
//
16 matches
Mail list logo