[Proto-Scripty] Re: newline after div mandatory?

2011-07-04 Thread Sylvain Brohée
Many thanks for your help... I will investigate knowing that! Cheers, Sylvain On Jul 1, 3:21 pm, Walter Lee Davis wa...@wdstudio.com wrote: On Jul 1, 2011, at 6:39 AM, Sylvain Brohée wrote: Hi all, I am very new to script.aculo.us. I'd like to add a very simple   appear effect

Re: [Proto-Scripty] managing zindex

2011-07-04 Thread kstubs
Those are some good ideas. In an effort to just write something quickly I decided to: 1) keep track of context object z-index 2) set z-index of this object to some absurd big z-index value 3) on lost focus (or when the object should resume the not expanded state) return z-index to original

Re: [Proto-Scripty] Sortable with 1,000 elements?

2011-07-04 Thread Richard Quadling
On 30 June 2011 17:33, Walter Lee Davis wa...@wdstudio.com wrote: On Jun 30, 2011, at 12:08 PM, Richard Quadling wrote: I use http://www.kryogenix.org/code/browser/sorttable/ -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

[Proto-Scripty] Disappointment in Element.Layout

2011-07-04 Thread pedz
I need to admit that I've been frustrated with HTML and CSS box model from the very moment I met it. Why they did not simply implement Knuth's box model he uses for TeX has always puzzled me. It may be that my exposure to TeX gave me a (unique) way of thinking about layout because I don't see

[Proto-Scripty] Re: managing zindex

2011-07-04 Thread T.J. Crowder
Hi, I was playing with something a couple of years back that was going to have a bunch of little boxes, any of which needed to be brought in front of the others on click. I played with keeping track of the most- recently-brought-forward box and then lowering its z-index again when another one was

[Proto-Scripty] Re: managing zindex

2011-07-04 Thread T.J. Crowder
I should have mentioned that unless you're okay with things wigging out after 2.1 billion clicks (and it would be perfectly reasonable to be okay with that), you will want to do that readjustment. If you try this copy (http://jsbin.com/uzokad/2) which starts just a few numbers shy of the limit,

Re: [Proto-Scripty] Re: managing zindex

2011-07-04 Thread Phil Petree
In a non-web project I managed it with a circular buffer... top element was at the head of the buffer, bottom element was at the end. Moving an element from the middle to the top (or any other position) required deleting its position from the buffer, shifting all the other elements down and