search for: secondlist

Displaying 10 results from an estimated 10 matches for "secondlist".

2006 Jan 24
8
scriptaculous sortable
Hi, maybe I am using this the wrong way but I have a list as follows <ul id="secondlist"> <li>bla bla</li> <li> bla bla </li> </ul> and then I add dynamically further <li> elements and create a Sortable but the onUpdate only fires for <li> items that have not been created via Javascript. Any clues? <script type="text...
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi. I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this. The situation is like this. _____________________________ | abc | => Box1Line1 | cde | => Box1Line2 | efg | => Box1Line3 | h | => Box1Line4
2006 Mar 28
0
Moving all items from one Scriptaculous box to another
...;></script> <script src="js/scriptaculous.js" type="text/javascript"></script> <script type="text/javascript"> // <![CDATA[ function spt_form_submit() { document.spt_main_form.spts.value= Sortable.sequence("secondlist").join("'' . ''_'' . ''"); return true; } // ]]> </script>''; (Following defines the two boxes, selectable ("firstlist") and selected ("secondlist") with the two buttons between them: * &quot...
2005 Jul 19
0
quick dragdrop question
...found the Sortables.create option for creating an onUpdate and onChange handler, and done the following: function selectItem(target){ window.status=target.id; } window.onload=function(){ Sortable.create("firstlist",{tag:''div'',containment:["firstlist","secondlist","firstCell","secondCell"]}); Sortable.create("secondlist", { tag:''div'', containment:["firstlist","secondlist","firstCell","secondCell"], onUpdate:selectItem } ); } I set a breakpoi...
2005 Jul 18
1
fix for scriptaculous dragdrop.js empty list problem
...#39;'secondCell'' class=''sortlist'' width=''270'' valign=''top''> <h3 class=''sortHeaderRow''>Selected</h3> <div id=''firstCell'' style=''height:100%''> <ul id="secondlist" style=''border:solid green 1px; height:100%''> <li class=''sortListRow'' id="secondlist_secondlist1">Item 1 from second list.</li> <li class=''sortListRow'' id="secondlist_secondlist2">Item 2 from s...
2006 Apr 24
2
sortable table rows?
I''ve been trying to make some table rows sortable using Scriptaculous. I''ve used: Sortable.create("secondlist", {tag:''tr'', treeTag:''table''}); and Sortable.create("secondlist", {tag:''tr''}); Neither of which works. Is it even possible to do this? Thanks, Daniel
2005 Jul 20
3
examples of drag n drop
...ating an onUpdate and onChange handler, and > done > the following: > > function selectItem(target){ > window.status=target.id; > } > window.onload=function(){ > > Sortable.create("firstlist",{tag:''div'',containment:["firstlist","secondlist","firstCell","secondCell"]}); > Sortable.create("secondlist", > { tag:''div'', > containment:["firstlist","secondlist","firstCell","secondCell"], > onUpdate:selectItem > } >...
2010 Oct 27
2
Merge disparate lists
My two lists look like below Need an R code example that combines the two. l_one "key" 2 1 2 l_two "ndx", "descr" 1, "this" 2, "that" 3, "other" 4, "finis" My goal is a new list that looks like below. ndx descr 2 that 1 this 2 that Thanks, Jim
2010 Jan 29
4
simple captcha image not displaying
...I installed it per instructions and everything seems to be working great except I can''t get my captcha images to show I am not sure what the problem is as I am a complete noob to RoR. Any pointers towards a direction to fix would be greatly appreciated! If you need to the site address is secondlist dot org. Thank you very much in advance. -Christine Attachments: http://www.ruby-forum.com/attachment/4439/simplecaptcha.png -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to...
2005 Oct 27
4
Nest sortables?
Hello All, I''m wondering if it''s possible to nest sortables: <ul id="first"> <li>One</li> <li>Two</li> <li> <ul id="second"> <li>Three</li> </ul> </li> <li>Four</li> </ul> <script> ... create sortables out of