[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Nick Stakenburg
Andrew, great to hear 1.6.0.3 is coming soon, I'm sure 1.6.1 is going to be great. There are great ideas floating around for it, although I hope that by the time 1.6.1 is released it won't be seen as Prototype playing catch-up. Maybe that's unavoidable though with funded frameworks around the corn

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Hector Virgen
I like Prototype because it takes all the work out of Javascript. I've been using it for a few years now but as a PHP developer I usually only used it for Ajax. Only recently have I started to get acquainted with all of its other components, and it is a pleasure to work with. Just last night, for f

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Andrew Dupont
On Sep 26, 10:30 am, Nick Stakenburg <[EMAIL PROTECTED]> wrote: > I'm not sure if Prototype has a real future, at the moment it seems to > be getting more and more a side project for it's authors. The reason > jQuery is so popular is it's community The last few months have been unusual for Protot

[Proto-Scripty] Re: Creating classes based on HTML elements

2008-09-26 Thread Rumith
Kangax, Your method indeed appears to be the most suitable option at this moment. Thanks! On Sep 26, 11:40 pm, kangax <[EMAIL PROTECTED]> wrote: > On Sep 26, 9:54 am, Rumith <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > I'm trying to implement a method that would allow to use > > Class.create() in

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Miguel Beltran R.
Hi, I a new user from Prototype (2 weaks so far) I am begin to look diferents libraries: prototype, jquery, mootools, etc. After some time I decide to use prototype because I feel what have better documentation for beginer (can be better) like me. I just only use AJAX. I am doing a application we

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Gregory Seidman
On Fri, Sep 26, 2008 at 11:52:47AM -0700, Diodeus wrote: > One this that I always thought strange is why it is called "Prototype" > -- it makes it seem like it's half-built and experimental, rather than > a usable product. While I understand the OO reference, I'm sure many > don't. > > Perhaps th

[Proto-Scripty] Re: Creating classes based on HTML elements

2008-09-26 Thread kangax
On Sep 26, 9:54 am, Rumith <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to implement a method that would allow to use > Class.create() inheriting HTML elements like div instead of other > classes. That is, the result would be something like this (the syntax > is arbitrary and is for demo purposes

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Diodeus
One this that I always thought strange is why it is called "Prototype" -- it makes it seem like it's half-built and experimental, rather than a usable product. While I understand the OO reference, I'm sure many don't. Perhaps the suggestion of merging the two is a valid one (even if they continue

[Proto-Scripty] Re: Creating classes based on HTML elements

2008-09-26 Thread Rumith
> First problem with your scenario is you're sending in a string as the > superclass, this isn't going to work regardless. That's what I meant when I said that the syntax is arbitrary :) I understand that in reality I'll have to use a wrapper function of some kind, but what kind of a function exa

[Proto-Scripty] Re: Sortables.create and recursion

2008-09-26 Thread Matt Foster
$$("ul.myMenu, ul.myMenu ul").each(function(ele){ Sortable.create(ele); }); On Sep 26, 5:16 am, David <[EMAIL PROTECTED]> wrote: > Hi, > > I want my customer to arrange menu and sub menus as he like it to be. > So : > > >     First item >     Second item >     Third item >     >        

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-26 Thread Walter Lee Davis
You don't say if you're having any problems with this, but you can remove the autocomplete (invalid) attribute -- Scripty adds that behavior automagically. Otherwise, this looks okay from the calling side. If your return includes anything besides a bare list (and these strong tags count,

[Proto-Scripty] Re: Creating classes based on HTML elements

2008-09-26 Thread Matt Foster
A very good idea, something I had pondered as well but never came up with a solution I was satisfied with. First problem with your scenario is you're sending in a string as the superclass, this isn't going to work regardless. You could use new Element('div') but this is going to create a static

[Proto-Scripty] Re: How to destroy a Control instance ?

2008-09-26 Thread kangax
On Sep 26, 9:46 am, Chris <[EMAIL PROTECTED]> wrote: > Hello, I let say I've an object created like this > > my_slider = new Control.Slider(handle, track, options); > > How can I do to completely destroy this instance ? my_slider.dispose(); handler.remove(); track.remove(); > > Thanks -- kangax

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-26 Thread ericindc
Thanks Walter, that cleared things up. Here is a link to the HTML that contains the new Ajax.Autocompleter code as well as my input field and response div. The PHP script prints a string of the following format: [ul] [li id="1234"][strong]Perk[/strong]ins, Justin[/li] [li id="5678"][stron

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread bluezehn
What prototype desperately needs is a better community than a group on google! I mean, there are much better interfaces for communities, and there's an irony there that prototype is supposed to be promoting the better use of interfaces... Also merging prototype and scriptaculous into one project I

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Nick Stakenburg
I'm not sure if Prototype has a real future, at the moment it seems to be getting more and more a side project for it's authors. The reason jQuery is so popular is it's community, it's certainly not those points in your article since those are true for most frameworks. People who write those artic

[Proto-Scripty] Re: Ajax.Autocomplete Questions

2008-09-26 Thread Walter Lee Davis
When the Autocompleter says "returns", it means returns in the same way that when you request a page from a Web server, the server returns that page. It's a HTTP return, not a PHP return. A function (in PHP or any language) may return a string or other variable. But that string won't go any

[Proto-Scripty] Re: Does Prototype have a future?

2008-09-26 Thread Justin Perkins
I like Prototype better than any other framework :p -justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegro

[Proto-Scripty] Does Prototype have a future?

2008-09-26 Thread Diodeus
While I am strong advocate of Prototype and Script.aculo.us, I find that the vast majority of discussion/coverage on the web is focussed on jQuery. I understand that there are not huge differences in the capabilities of these two libraries, so why has jQuery gained such popularity vs Prototype? T

[Proto-Scripty] Creating classes based on HTML elements

2008-09-26 Thread Rumith
Hi, I'm trying to implement a method that would allow to use Class.create() inheriting HTML elements like div instead of other classes. That is, the result would be something like this (the syntax is arbitrary and is for demo purposes only): var Block = Class.create("div", { initialize: functio

[Proto-Scripty] How to destroy a Control instance ?

2008-09-26 Thread Chris
Hello, I let say I've an object created like this my_slider = new Control.Slider(handle, track, options); How can I do to completely destroy this instance ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Proto-Scripty] SlideDown - Element is popping up

2008-09-26 Thread mh
Hi, i have a often seen problem in Internet Explorer with scriptaculous (newest version). When i want to use the SlideDown effect the elements first get visible and after that the Effect starts, so you can see the whole element and then it desappears and it slides down. Why is it visible at the b

[Proto-Scripty] Sortables.create and recursion

2008-09-26 Thread David
Hi, I want my customer to arrange menu and sub menus as he like it to be. So : First item Second item Third item First sub item Second sub item Third sub item Fourth item Fifth item Sortable.create('myMenu'); But it take only the first le

[Proto-Scripty] Re: Bug when testing with htmlunit

2008-09-26 Thread mcrogiez
Sorry for the late response, I tried to replace my javascript with this one : Event.observe(window, "load", function() { Event.observe("chkAll", "click", function(event) { //var element = event.element(); $$("input.chk").each(function(aCheck) {

[Proto-Scripty] Re: Effect.Highlight and :hover stops working?

2008-09-26 Thread Johann Werner
Thanks Justin! With your help now it is working finally :-) Though it does not respect the hover state when I set explicitly the background color as in your code snippet. I had to set the background style to empty string: var element = $(''); element.highlight({ afterFinish: function(effect

[Proto-Scripty] Re: Out of memory error

2008-09-26 Thread T.J. Crowder
Hi Mike, Thanks for posting back. I think the 'out of memory' thing is a Firebug bug, not a bug in your code or Prototype. Good you were able to find the underlying problem. -- T.J. :-) On Sep 26, 4:14 am, MikeFeltman <[EMAIL PROTECTED]> wrote: > Hey, > > Just wanted to let you know I was abl

[Proto-Scripty] Re: Exception-Handling with prototype

2008-09-26 Thread T.J. Crowder
Hi Yanosz, Can you provide a couple of concrete examples of silent failures? Maybe post a minimalist page demonstrating a couple of them to Pastie[1]? For the most part (IMHO) silent failures are a Bad Thing and so examples should be reported as bugs. But it doesn't hurt to discuss them first,

[Proto-Scripty] Effect.Fade and Effect.Appear

2008-09-26 Thread Arak Tai'Roth
So I am using the prototype and scriptaculous on my webpage that I am designing with CakePHP. This is my link that I am using: echo $ajax->link($html->image('/img/portfolio/small/' . $portfolio['Portfolio']['picture'], array('alt' => $portfolio['Portfolio']['title'])), '/portfolios/view/' . $por

[Proto-Scripty] Exception-Handling with prototype

2008-09-26 Thread Jan Luehr
Hello, I'm using prototype & scriptaculous in various Ruby-on-Rails applications, some of them do a lot of prototype & ajax stuff with RoR-Helpers. But what I'ven't figured out yet is: Is there a way to do exception-Handling with prototype? While classic JavaScript exception handling uses try/ca