Hey Everyone, Remember when i was whining about wanting a fisheye control for prototype? http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/548aa597c47487ec/558d1f04dff374ff?lnk=gst&q=fisheye&rnum=1#558d1f04dff374ff Well I followed through and rolled my own, you should check it out. The animation is smooth and the code is very extendable. http://positionabsolute.net/blog/2007/08/prototype-fisheye.php Cheers, Matt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Matt Foster wrote:> Hey Everyone, > > Remember when i was whining about wanting a fisheye control for > prototype? > > ... > > http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > ...That rocks! - Ken Snyder --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Indeed, I must agree... I have a use or two for it already. On 8/20/07, Ken Snyder <kendsnyder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Matt Foster wrote: > > Hey Everyone, > > > > Remember when i was whining about wanting a fisheye control for > > prototype? > > > > ... > > > > http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > > > ... > That rocks! > > - Ken Snyder > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
That''s freakin'' sick! Nice work! --Josh On Aug 20, 2007, at 10:59 AM, Matt Foster wrote:> > Hey Everyone, > > Remember when i was whining about wanting a fisheye control for > prototype? > > http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/ > thread/548aa597c47487ec/558d1f04dff374ff? > lnk=gst&q=fisheye&rnum=1#558d1f04dff374ff > > Well I followed through and rolled my own, you should check it out. > The animation is smooth and the code is very extendable. > > http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > Cheers, > Matt > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Very nice work Matt ! Is it fully cross-browser ? I read you use marginTop, but some browsers have issues positionning components in complex UI layouts when using a mixed of absolute and relative positions with margins/paddings. (Or maybe I''m just totally off the track ? But I''ve had such issues in my project already.) Also, if a onmouseout event would be applied to the parent container, would that help in making the icons reset to their "default" position and size ? Well, again, this is very freakin nice ! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thats very nice work! i haven''t looked deep into it, maybe its possible already to configure it to use sinoidal sizing (hope this word is correct). See Scriptaculous effects.js: Effect.Transitions.sinoidal With that it might look even nicer. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
what version of things are you using? i''ve using pt v1.5.1.1 and get EventDispatcher is not defined file:///C:/Documents%20and%20Settings/rustybrick/Desktop/prototip1.0.2/FishEye.js Line 26 create() prototype.js (line 37) Object.extend(Object.extend(FishEyeToolBar.prototype, EventDispatcher.prototype)... On 8/20/07, Matt Foster <mattfoster01-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hey Everyone, > > Remember when i was whining about wanting a fisheye control for > prototype? > > > http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/548aa597c47487ec/558d1f04dff374ff?lnk=gst&q=fisheye&rnum=1#558d1f04dff374ff > > Well I followed through and rolled my own, you should check it > out. > The animation is smooth and the code is very extendable. > > http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > Cheers, > Matt > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey Brian, I can see whats gone wrong. I forgot to mention that the classes both extend from the EventDispatcher class. EventDispatcher is my attempt at custom events, but its really just a good approach at an observer pattern, this is how it handles the events like "itemClick". Please refer to this entry to get code and an explanation on how it works, http://positionabsolute.net/blog/2007/06/event-dispatcher.php I''ll be sure to add this note to the original entry. Cheers, Matt On Aug 21, 12:56 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> what version of things are you using? > > i''ve using pt v1.5.1.1 and get > > EventDispatcher is not defined > file:///C:/Documents%20and%20Settings/rustybrick/Desktop/prototip1.0.2/FishEye.js > Line 26 > > create() > > prototype.js (line 37) > Object.extend(Object.extend(FishEyeToolBar.prototype, > EventDispatcher.prototype)... > > On 8/20/07, Matt Foster <mattfoste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hey Everyone, > > > Remember when i was whining about wanting a fisheye control for > > prototype? > > >http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thr... > > > Well I followed through and rolled my own, you should check it > > out. > > The animation is smooth and the code is very extendable. > > >http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > > Cheers, > > Matt--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
cool, thanks for the quick explanation, I''ll see if i can mess with it in a day or two, I''ve got a nasty e-commerce system i have to finish tonight. On 8/21/07, Matt Foster <mattfoster01-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hey Brian, > > I can see whats gone wrong. I forgot to mention that the > classes both extend from the EventDispatcher class. EventDispatcher is > my attempt at custom events, but its really just a good approach at an > observer pattern, this is how it handles the events like "itemClick". > > > Please refer to this entry to get code and an explanation on > how it works, > http://positionabsolute.net/blog/2007/06/event-dispatcher.php > > I''ll be sure to add this note to the original entry. > > Cheers, > Matt > > On Aug 21, 12:56 pm, "Brian Williams" <brianw1...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > what version of things are you using? > > > > i''ve using pt v1.5.1.1 and get > > > > EventDispatcher is not defined > > > file:///C:/Documents%20and%20Settings/rustybrick/Desktop/prototip1.0.2/FishEye.js > > Line 26 > > > > create() > > > > prototype.js (line 37) > > Object.extend(Object.extend(FishEyeToolBar.prototype, > > EventDispatcher.prototype)... > > > > On 8/20/07, Matt Foster <mattfoste...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Hey Everyone, > > > > > Remember when i was whining about wanting a fisheye control for > > > prototype? > > > > >http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thr. > .. > > > > > Well I followed through and rolled my own, you should check it > > > out. > > > The animation is smooth and the code is very extendable. > > > > >http://positionabsolute.net/blog/2007/08/prototype-fisheye.php > > > > > Cheers, > > > Matt > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---