I am looking to develop a custom tool tip component for a list of links. ...Which is kind of not that big a deal. But, and this seems to be the tricky part, I also want to be able to set/specify the interval threshold after which to display the tool tip. (and by nature of "tool tip", don''t display if the mouse moves out during that interval. etc) Any suggestions? Could prototype / script.aculo.us be leveraged in any way to simplify the implementation of this functionality? (Or is there a trick that''s even simpler?) Thanks, Amol _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Hi ! 2005/12/28, Amol Katdare <amol.forums@gmail.com>:> Any suggestions?Please take a look at overLIB. It is available from http://www.bosrup.com/web/overlib/ It is available under an Artistic license. I used it in a todo-like application to show a longer description about what each item was supposed to do. Works like a charm. I also built myself a small Rails Helper to generate the JS calling code automatically. If you're going to use overlib, just E-Mail me privately, and I'll see if I can release the helper. It's not mine to give away. Bye ! -- François Beausoleil http://blog.teksol.info/ _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Tooltip.js is built on prototype/scriptaculous, might be worth a look- in.. http://tooltip.crtx.org/ cheers, Michael On 28/12/2005, at 11:25 PM, Amol Katdare wrote:> I am looking to develop a custom tool tip component for a list of > links. > ...Which is kind of not that big a deal. > But, and this seems to be the tricky part, I also want to be able > to set/specify the interval threshold after which to display the > tool tip. (and by nature of "tool tip", don''t display if the mouse > moves out during that interval. etc) > > Any suggestions? > Could prototype / script.aculo.us be leveraged in any way to > simplify the implementation of this functionality? (Or is there a > trick that''s even simpler?) > > Thanks, > Amol > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Thanks Michael and François. Tooltip.js is great, but it doesn''t solve the "tricky" part. Same with overLIB. To rephrase my question, Is there any way to enable callbacks (to user defined functions) when: 1. Mouse has been hovering over a link for x seconds. 2. A corresponding callback when mouse hovers out. Then I will use these callbacks to activate/deactivate tool tips using tooltip.js, overLIB or my own implementation. Regards, Amol On 12/28/05, Michael Roper <michael.roper-QvusXRzN0vkJY7gZg3T8ig@public.gmane.org> wrote:> Tooltip.js is built on prototype/scriptaculous, might be worth a look- > in.. > > http://tooltip.crtx.org/ > > cheers, > > Michael > > > > > On 28/12/2005, at 11:25 PM, Amol Katdare wrote: > > > I am looking to develop a custom tool tip component for a list of > > links. > > ...Which is kind of not that big a deal. > > But, and this seems to be the tricky part, I also want to be able > > to set/specify the interval threshold after which to display the > > tool tip. (and by nature of "tool tip", don''t display if the mouse > > moves out during that interval. etc) > > > > Any suggestions? > > Could prototype / script.aculo.us be leveraged in any way to > > simplify the implementation of this functionality? (Or is there a > > trick that''s even simpler?) > > > > Thanks, > > Amol > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
Hi, With overlib, you have a DELAY parameters to active a tooltip after a delay. ex : overlib(''This popup will open in about a 1/4 second'', DELAY, 250) Regards, Nico On 12/28/05, Amol Katdare <amol.forums-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks Michael and François. > > Tooltip.js is great, but it doesn''t solve the "tricky" part. Same with > overLIB. > > To rephrase my question, > Is there any way to enable callbacks (to user defined functions) when: > 1. Mouse has been hovering over a link for x seconds. > 2. A corresponding callback when mouse hovers out. > > Then I will use these callbacks to activate/deactivate tool tips using > tooltip.js, overLIB or my own implementation. > > Regards, > Amol > > > On 12/28/05, Michael Roper <michael.roper-QvusXRzN0vkJY7gZg3T8ig@public.gmane.org> wrote: > > Tooltip.js is built on prototype/scriptaculous, might be worth a look- > > in.. > > > > http://tooltip.crtx.org/ > > > > cheers, > > > > Michael > > > > > > > > > > On 28/12/2005, at 11:25 PM, Amol Katdare wrote: > > > > > I am looking to develop a custom tool tip component for a list of > > > links. > > > ...Which is kind of not that big a deal. > > > But, and this seems to be the tricky part, I also want to be able > > > to set/specify the interval threshold after which to display the > > > tool tip. (and by nature of "tool tip", don''t display if the mouse > > > moves out during that interval. etc) > > > > > > Any suggestions? > > > Could prototype / script.aculo.us be leveraged in any way to > > > simplify the implementation of this functionality? (Or is there a > > > trick that''s even simpler?) > > > > > > Thanks, > > > Amol > > > _______________________________________________ > > > Rails-spinoffs mailing list > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Awesome! Thanks a ton. Regards, Amol On 12/28/05, Nicolas <scalpmail-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > With overlib, you have a DELAY parameters to active a tooltip after a > delay. > ex : overlib(''This popup will open in about a 1/4 second'', DELAY, 250) > > Regards, > Nico > > On 12/28/05, Amol Katdare <amol.forums-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Thanks Michael and François. > > > > Tooltip.js is great, but it doesn''t solve the "tricky" part. Same with > > overLIB. > > > > To rephrase my question, > > Is there any way to enable callbacks (to user defined functions) when: > > 1. Mouse has been hovering over a link for x seconds. > > 2. A corresponding callback when mouse hovers out. > > > > Then I will use these callbacks to activate/deactivate tool tips using > > tooltip.js, overLIB or my own implementation. > > > > Regards, > > Amol > > > > > > On 12/28/05, Michael Roper <michael.roper-QvusXRzN0vkJY7gZg3T8ig@public.gmane.org> wrote: > > > Tooltip.js is built on prototype/scriptaculous, might be worth a look- > > > > > in.. > > > > > > http://tooltip.crtx.org/ > > > > > > cheers, > > > > > > Michael > > > > > > > > > > > > > > > On 28/12/2005, at 11:25 PM, Amol Katdare wrote: > > > > > > > I am looking to develop a custom tool tip component for a list of > > > > links. > > > > ...Which is kind of not that big a deal. > > > > But, and this seems to be the tricky part, I also want to be able > > > > to set/specify the interval threshold after which to display the > > > > tool tip. (and by nature of "tool tip", don''t display if the mouse > > > > moves out during that interval. etc) > > > > > > > > Any suggestions? > > > > Could prototype / script.aculo.us be leveraged in any way to > > > > simplify the implementation of this functionality? (Or is there a > > > > trick that''s even simpler?) > > > > > > > > Thanks, > > > > Amol > > > > _______________________________________________ > > > > Rails-spinoffs mailing list > > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > > _______________________________________________ > > > Rails-spinoffs mailing list > > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs