[jifty-devel] How to do multiple onclick region actions

Jesse Vincent jesse at bestpractical.com
Wed Mar 7 14:00:39 EST 2007




On Thu, Mar 01, 2007 at 05:01:28PM -0500, jpollack at gmail.com wrote:
> Yep, that works as expected.  Thanks.
> I've attached a minimal 2-line doc patch.

Thanks. applied
> 
> Joshua
> 
> On 2/28/07, Andrew Sterling Hanenkamp <andrew.hanenkamp at boomer.com> wrote:
> >I believe this will do the job. It's not well-documented... maybe I'll
> >work on that tomorrow... ;)
> >
> >Jifty->web->link(
> >   ...,
> >   onclick => [
> >      { region => 'foo', replace_with => '/fragments/foo2' },
> >      { region => 'bar', replace_with => '/fragements/bar2' },
> >   ],
> >);
> >
> >
> >--
> >Andrew Sterling Hanenkamp
> >Interaction Developer
> >Boomer Consulting, Inc.
> >
> >1.785.537.2358 ext. 17
> >1.888.266.6375 ext. 17
> >1.785.537.4545 (fax)
> >
> >610 Humboldt
> >Manhattan, KS 66502
> >
> >http://www.boomer.com/about/team/andrew-hanenkamp.html
> >andrew.hanenkamp at boomer.com
> >
> >-----Original Message-----
> >From: jifty-devel-bounces at lists.jifty.org
> >[mailto:jifty-devel-bounces at lists.jifty.org] On Behalf Of
> >jpollack at gmail.com
> >Sent: Wednesday, February 28, 2007 4:04 PM
> >To: Nifty apps in a Jiffy
> >Subject: [jifty-devel] How to do multiple onclick region actions
> >
> >Hi,
> >
> >How do I specify more than one region to 'onclick' in
> >Jifty->web->link?  What I'm trying to do is have a link that onclick,
> >does both a region replacement, and a refresh on a separate region.
> >Or two replacements, or two refreshes, &c.  I looked through the
> >documentation on how to do this, sorry if it's obvious and I missed it.
> >
> >Thanks,
> >Joshua
> >_______________________________________________
> >jifty-devel mailing list
> >jifty-devel at lists.jifty.org
> >http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> >_______________________________________________
> >jifty-devel mailing list
> >jifty-devel at lists.jifty.org
> >http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> >


> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel


-- 


More information about the jifty-devel mailing list