I'd be glad to take a crack at this if I knew how ;)

As an absolute newbie to hobo, rails and ruby, I'd absolutely need
some hand holding to get started. But I'd appreciate the opportunity
to learn and (hopefully) help out. Once I get the hang of it, moving
on to other libraries should be fairly simple.

On Jun 17, 9:35 am, Bryan Larsen <[email protected]> wrote:
> This is an opportunity for anybody who wishes to find an easy way to
> contribute to Hobo.
>
> Wrapping a useful Javascript UI library with Hobo tags is easy and very
> useful to beginners.  I started such a task with Javascript-UI
> (http://cookbook.hobocentral.net/plugins/hobo-jquery).   I did the hard
> work and haven't completed the easy work of wrapping the rest of the
> tags.   By building on Hobo-JQuery you would get delayed initialization
> (so the widgets would work inside of AJAX parts and hjq-input-many tags)
> as well as the ability to pass non-string data to the widget.
>
> Hobo-jQuery has some complicated stuff in it.   However, the datepicker
> stuff in hobo-jquery is trivial and can be used as an example for
> anybody who wants to add other widgets.
>
> But most Javascript libraries will work without delayed initialization
> and only take strings as configuration, so writing another plugin from
> scratch is easy.
>
> In the case of a toggle, the jQuery-UI accordion documentation basically
> says that this is not a toggle.   Toggle's are trivial, here's how to do
> them in plain jQuery.... :)
>
> Bryan
>
> On 10-06-16 08:50 PM, Matt Jones wrote:
>
>
>
> > On Jun 16, 2010, at 7:47 AM, Ronbo wrote:
>
> >> Thanks Owen,
>
> >> I was actually just thinking of a dumb div that has it's display
> >> attrib toggled via javascript. I thought hobo might provide a tag for
> >> this as a convenience, although it would not touch the back end at
> >> all.
>
> > One of the designers I work with has been using the Easy Framework
> > (http://easyframework.com/) which has some nice canned JS stuff for
> > this. In particular, the "toggle" class might do what you want:
>
> >http://easyframework.com/demo_showhide.php
>
> > The only fussy thing I ran across was that it was painful to get a div
> > that displayed the *opposite* behavior (started out open but could be
> > closed). But it's not hard to write a little UJS-style stuff yourself
> > (in application.js, for instance) to grab appropriate tags and add a
> > simple toggle behavior.
>
> > --Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to