Mrinal, Do you mean when the page is initially rendered or do you mean on updates?
If you mean on updates, see the partialUpdate(js: JsCmd) method on CometActor: http://scala-tools.org/mvnsites/liftweb/lift-webkit/scaladocs/net/liftweb/http/CometActor.html You can send arbitrary JavaScript to the client to do redrawing, effects, etc. Also, keep in mind that you can chain JsCmd together: val j1: JsCmd = ... val j2: JsCmd = ... val j3 = j1 & j2 And you can take a List[JsCmd] and turn it into a JsCmd: val js: JsCmd = jsList.foldLeft[JsCmd](Noop)(_ & _) Thanks, David On Fri, Oct 10, 2008 at 6:42 AM, Mrinal Wadhwa <[EMAIL PROTECTED]>wrote: > > Hi Everyone, > > Has anyone tried adding a jQuery effect to the content a CometActor > puts on a page .. if so then how to do that? > > Thank you > With regards, > Mirnal > > > > -- Lift, the simply functional web framework http://liftweb.net Collaborative Task Management http://much4.us Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
