Forum OpenACS Development: body tag

Collapse
Posted by alex pershyn on
Hi everyody,
I'd like to add onload function to body tag of master page.
Does anybody know how to do this?
Thanks a lot
Collapse
2: Re: body tag (response to 1)
Posted by Jarkko Laine on
Why not just write it in the body tag of your master.adp file? If you need it to be a variable, just put a variable in the tag and then pass the value from other pages using the master.

master.adp:
<body onload="@foo@">

other.adp:
<property name="foo">@onloadvalue@</property>

Collapse
3: Re: body tag (response to 1)
Posted by alex pershyn on
Hi Jarkko,
Thank you for advice but this is not suitable because I am going to place my package somewhere using theirs master page - I can't edit it!