On 9/10/06, Philip Jenvey <[EMAIL PROTECTED]> wrote:
You should be able to do:

h.link_to('click me', '#', >'posts', duration=0.5) + "alert('hi!')")

Beware not all of the _javascript_ generation functions suffix their
code with semicolons (but visual_effect does -- I might consider that
inconsistency is a bug).

Aha!

+

I never would have guessed. I guess it makes sense, though if visual_effect() returns a string.

Thanks, Philip!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to