OK trying to say this as tactfully as possible, because it's not
targeted specifically at this script, it only serves as a useful
example.

A lot of people are releasing useful scripts based on Prototype, wich
is great and you get a real sense of a healthy ecosystem developing.

BUT Prototype does some things in the global namespace that some might
consider naughty. That's not really a problem when you want to use
Prototype for everything. However it seems to encourage others, myself
included, to do likewise.

This can only create a huge mess as everyone tries to muck around
treading on each others global namespace claims.

I propose that all contributors of Prototype based user scripts create
their on namespaced objects and leave the global namespace to
Prototype. I'd go a little further and suggest for sanity's sake we
also leave any namespace created by Prototype well alone too.

This image rotation script, while useful, I would not be confident in
using because it, adds to the Prototype Element object, it adds to the
Prototype object, it adds an image cache to the String object (???).
If everyone wrote scripts like this it may well be incompatibility
hell to use a bunch of them together.

So I say lets all play it safe and leave the global namespace
pollution to Prototype :) and write scripts that use Prototype but
wont cause problems for each other.

On 20/05/06, Andrew Kaspick <[EMAIL PROTECTED]> wrote:
Oh, that kind of rotate. :)  I saw that there too, but was looking for
something that was actually rotating images, like rotating an object
10 degree, etc.

Gotcha

On 5/19/06, Martinez, Andrew <[EMAIL PROTECTED]> wrote:
> There is one. It is that small green dome. I missed it too the first time but 
then I started reading the documentation and noticed there was a slick little 
globe rotating images...
>
> -Andrew Martinez
>
>  -----Original Message-----
> From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]  On Behalf Of Andrew 
Kaspick
> Sent:   Friday, May 19, 2006 5:25 PM
> To:     [email protected]
> Subject:        Re: [Rails-spinoffs] Content Rotate, unwanted flashing on IE.
>
> Can you put up a public example of this in action so that we don't
> have to setup the code ourselves to see it?
>
> On 5/19/06, Eric Anderson <[EMAIL PROTECTED]> wrote:
> > I just wrote a stupid little JS object to rotate DOM Elements (mainly
> > images) using Prototype and Script.aculo.us as support. Everything seems
> > to work well on IE and Firefox Linux but on FireFox Windows I am getting
> > a slight flash prior to transition.
> >
> > I was wondering if a effects guru could take a quick look and see if
> > anything jumps out. I can live with the flash for my current project but
> > it would be great if I could get rid of it.
> >
> > The source code is freely available at:
> > http://afaik.us/element_rotate/rotate_test.html
> >
> > and is not licensed (public domain). Anybody can feel free to use it if
> > they want.
> >
> > Eric
> >
> > _______________________________________________
> > Rails-spinoffs mailing list
> > [email protected]
> > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> >
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> _______________________________________________
> Rails-spinoffs mailing list
> [email protected]
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



--

Andrew
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to