Re: [Proto-Scripty] Re: document.observe and Sorter in scrolling li sts

2009-12-08 Thread Niko Schwarz
ruit', { "scroll": "container" });}); Test Apple Banana Peach Strawberry Cherry Pear Orange Mango So, what should I do? On Tue, Dec 8, 2009 at 9:36 AM, Niko Schwarz wrote: > That is, the tags are, the elements are not. A can only appear > in

Re: [Proto-Scripty] Re: document.observe and Sorter in scrolling li sts

2009-12-08 Thread Niko Schwarz
ot;, "1.6.1.0"); google.load("scriptaculous", "1.8.3"); document.observe("dom:loaded", function() { Sortable.create('fruit', { "scroll": "container" });}); Test Apple Banana Peach Strawberry Cherry P

Re: [Proto-Scripty] Re: document.observe and Sorter in scrolling li sts

2009-12-08 Thread Niko Schwarz
I don't think so. head and body are both optional: http://dev.w3.org/html5/spec/Overview.html#optional-tags On Tue, Dec 8, 2009 at 1:24 AM, Rick Waldron wrote: > Missing: > > > > > If found, please return. > > -- Sent from my Palm Prē > _____

[Proto-Scripty] Re: document.observe and Sorter in scrolling lists

2009-12-07 Thread Niko Schwarz
reate('fruit', { "scroll": "container" }); }); Test Apple Banana Peach Strawberry Cherry Pear Orange Mango Cheers, Niko On Mon, Dec 7, 2009 at 7:15 PM, Niko Schwarz wrote: > Hi, I have this tiny script,

[Proto-Scripty] document.observe and Sorter in scrolling lists

2009-12-07 Thread Niko Schwarz
{ Sortable.create('fruit', { "scroll": "container" });}); Test Apple Banana Peach Strawberry Cherry Pear Orange Mango So, what is your take? Cheers, Niko -- http://scg.unibe.ch/staff/Schwarz twitter.com/nes1983 Tel

[Proto-Scripty] funny thing to notice about the in place editor.

2009-01-08 Thread Niko Schwarz
label: [ self renderCheckBoxOn: html. self renderDescriptionOn: html id: id. ] self renderModifiersOn: html id: id. And isn't this fun? My solution is: labels are overrated anyway. Niko --~--~-~--~~~---~--~~ You received this message because yo

[Proto-Scripty] Re: how can i turn on the inplaceeditor from javascript?

2009-01-07 Thread Niko Schwarz
'node','url_on_server.php',opts); > > And now when you click on a#foo, the editor will open. > > Walter > > On Jan 6, 2009, at 5:45 AM, Niko Schwarz wrote: > > > So, I am adding a inplaceeditor to a node. how do i find the editor, &g

[Proto-Scripty] ajax prompt

2009-01-06 Thread Niko Schwarz
Oh, and another thing I would like to do would be to ajax-prompt. In Seaside, it might look something like this onClick: html prompter question: 'under which name should i save this?' ; callback: [:v | Transcript show: v] cheers, niko --~--~-~--~~~---~--

[Proto-Scripty] how can i turn on the inplaceeditor from javascript?

2009-01-06 Thread Niko Schwarz
So, I am adding a inplaceeditor to a node. how do i find the editor, so i can turn the in place editing mode on? the method is called enterEditMode(), I think, but what to call it on? cheers, niko --~--~-~--~~~---~--~~ You received this message because you are

[Proto-Scripty] Re: Sortable tree

2009-01-06 Thread Niko
javascript. Niko On Jan 5, 12:43 pm, "Niko Schwarz" wrote: > Ok, I think I know what went wrong. The drag-and-drop magic works only if > the child-uls have a padding-bottom. Maybe the javascript should check if > the padding is alright and make sure it does not go under a certain m

[Proto-Scripty] Re: Sortable tree

2009-01-05 Thread Niko Schwarz
this wrong: the seaside scriptaculous example does not allow drags to empty children, either. Niko 2009/1/3 Niko > > Ok, I am really not the biggest JS guru on the planet. Consider me a > newbie on SU and javascript. > > So, alright, here is the big plan: I have my small to do li

[Proto-Scripty] Re: emptyFunction() calls take up to 30% of execution time

2009-01-04 Thread Niko
I think this will solve itself. If I understood the announcements on Squirrelfish correctly, they are trying to inline small calls. So that a call to emptyFunction would become a noop. On 24 Dez. 2008, 21:35, npepinpe wrote: > The Prototype.emptyFunction is just a dummy function; it doesn't >

[Proto-Scripty] Sortable tree

2009-01-04 Thread Niko
check if level 3 got created (could happen( and would smoothe it back to level 2. could someone give me a hand, please? regards, niko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.acu