How about this:
<script type="text/javascript">
function doSomething() { alert("got here"); }
</script>
<body jwcid="@Body" onresize="doSomething();">
----- Original Message -----
From: "David Leangen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, May 16, 2005 11:01 AM
Subject: [Client-side scripting] onRezise()
>
> I just discovered client-side scripting with Tapestry.
>
> Very nice!!
>
>
> I am now going to use it extensively.
>
>
> However, I am having one problem: I can't figure out how to implement the
> onResize() that usually works with the body tag:
>
> <body onResize="someFunction()">
> ...
> </body>
>
>
> I tried, both in the <body> and the <initialization> sections:
>
> window.onResize = function () { someFunction() };
>
> and
>
> document.body.onResize = function () { someFunction() };
>
>
> I've tried playing around with these in quite a few different ways, but
> can't seem to get it to work.
>
>
> Can anybody tell me how this works?
>
>
> Thanks!
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]