[Proto-Scripty] Re: :nth-child help prototype

2011-11-16 Thread shellster
First thing is that you aren't passing the right arguments to setStyle. Second, you should be using the Javascript css attribute format, and not the style sheet version. Finally, I recommend setting the border to none: $$(.category-silo ul li:nth-child(4n+4)).invoke(setStyle, {borderRight:

[Proto-Scripty] Re: Prototype's evolution

2011-08-18 Thread shellster
17, 2011 at 8:11 AM, shellster shellsterd...@gmail.com wrote: I'm seriously considering building my own site to start adding things like community documentation, additions to prototype, and plug-ins. While the Prototype Dev's certainly don't owe me anything, I've been pretty disappointed

[Proto-Scripty] Re: Prototype's evolution

2011-08-17 Thread shellster
I'm seriously considering building my own site to start adding things like community documentation, additions to prototype, and plug-ins. While the Prototype Dev's certainly don't owe me anything, I've been pretty disappointed in there response time to user requests and even submitted patches. I

[Proto-Scripty] Re: Prototype Json Editor

2011-08-16 Thread shellster
I don't know what you are asking. There are certainly editors which help you write valid json, but it isn't complicated. Prototype should accept any valid JSON that you write. Typically what you want to do is to build a structure or array of data in your server scripting language, then use an

[Proto-Scripty] Themes, UI Controls, and the Future of Prototype/Scriptaculous

2011-08-10 Thread shellster
As a veteran PrototypeJS and Scriptaculous user, I'm curious about the future of these great libraries. As a web developer, I'm also no stranger to JQuery. One of the nice things about JQuery is that it provides a one-size-fits-all javascript library which provides virtually everything you need

[Proto-Scripty] Re: script.aculo.us autocomplete: Restrict to list

2010-01-19 Thread shellster
words, they're restricted to only the items on the autocomplete list.  If we have , AAAB, AAAC then after they type AAA the only options allowed to type would be A, B, or C. On Jan 11, 7:34 am, shellster shellsterd...@gmail.com wrote: Should be pretty simple: var array = //your array

[Proto-Scripty] Re: Element feature Requests

2010-01-13 Thread shellster
Ok, I'll do that. Thanks for the reply. On Jan 12, 9:48 am, david david.brill...@gmail.com wrote: Hi shellster, I think what you do is good. If you think it could be usefull for others, create a prototype plug- in that will does that and send it to everybody with scripteka. -- david

[Proto-Scripty] Re: problem with iterating

2010-01-11 Thread shellster
Also here's the prototype page that deals with the for...in construct: http://www.prototypejs.org/api/array On Jan 10, 6:12 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, On Jan 5, 1:02 pm, Jake jgarfi...@earthlink.net wrote: I have learned the problem is not with iterationg, but if I

[Proto-Scripty] Re: problem with iterating

2010-01-10 Thread shellster
One of the side-effects(indeed the only negative one I am aware of) of using prototype is the problem you have described. The only way to pass an array as you have described, would be to hash the array, or pass it as json, or something. However, I think you would be better off modifying your

[Proto-Scripty] Re: setOpacity has no effect in IE8

2010-01-10 Thread shellster
I just used setOpacity today for a Strict IE8 page and it seemed to work. On Dec 31 2009, 4:00 pm, Paul Kim kimba...@gmail.com wrote: I do not experience your problem of having Element.setOpacity not working in IE8 w/o compatibility mode. Here is a pastie that demonstrates Element.setOpacity

[Proto-Scripty] Re: Pause on MouseOver

2010-01-10 Thread shellster
I would also suggest checking out prototypes PeriodicalExecuter instead of using setInterval, but it is really a personal choice thing. On Jan 5, 3:19 pm, Ralph Brickley i...@topsoftweb.com wrote: This would be easy. setInterval returns in ID handle to that particular interval. Your code