[Seaside] <body> onLoad

Boris Popov, DeepCove Labs boris at deepcovelabs.com
Wed Jun 22 16:09:52 UTC 2011


html document addLoadScript: 'js goes here'.

 

This uses body's onLoad normally, or proper callback function if JS
library is used (JQScriptGenerator =
http://api.jquery.com/jQuery/#jQuery3).

 

HTH,

 

-Boris

 

From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Robert
Sirois
Sent: Wednesday, June 22, 2011 12:05 PM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] <body> onLoad

 

Is this a little ridiculous or am I accomplishing this correctly?

 

html bodyAttributes at: 'onLoad' append:
'javascript:setInterval("update()", 1000)'.

 

RS

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110622/5fcff129/attachment.htm


More information about the seaside mailing list