jpongin wrote:

> Out of necessity, I made a super lightweight opacitized drop shadow
> effect you can apply to any element -- even multiple elements without
> breaking stacking order -- tested on FF2.x, Safari, Opera, IE6, and
> IE7 of course.  It's also sensibly configurable -- not too much, and
> not too little.

Good to know and I'm sure it will be quite useful.


> 1) Does this belong in prototypejs?  I looked at scriptaculous, and
> that lib seems a bit too Hollywood compared to this light weight
> effect.

No. Prototype should remain as small as possible. While this feature would be
useful for some, it's hardly a universal must-have.

I have a vision of one day creating an archive of javascript libraries built off
of prototype and scriptaculous (taking the idea of Perl's CPAN -
http://search.cpan.org)). You could define dependencies on other libraries
Examples and test suites would be provided that could be run from a browser so
you can try before you buy. And lots of other cool things. But I don't really
have the time or resources to devote to it now.

If something like that ever happens, then you could publish you library there.
Until then, setup your own repository and web page for the library. Post it here
and just keep the community informed about releases and progress.

> 2) If it does have a place in prototypejs, which object should it
> belong to?  I think it would belong to the Element or Element.Methods
> object.

I personally wouldn't put it into the Element namespace. I'd pick something
different like Shadow or DropShadow.

  DropShaddow.apply('element_id');

-- 
Michael Peters
Developer
Plus Three, LP


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to