[jifty-devel] How to do multiple onclick region actions
Andrew Sterling Hanenkamp
andrew.hanenkamp at boomer.com
Wed Feb 28 18:20:47 EST 2007
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
More information about the jifty-devel
mailing list