Home
The Toolkit for Online Communities
17220 Community Members, 1 member online, 1997 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : HTMLarea and ad_form/form builder : One Message

Forum OpenACS Development: Re: HTMLarea and ad_form/form builder

Collapse
Posted by Randy O'Meara on
CR, [something like] this should work:

in your.tcl:
    set js {
        ...put your javascript code here...
    }

in your.adp:
    <master>
    <property name="header_stuff">
        <if @header_stuff@ defined>
            @header_stuff;noquote@
        </if>
        @js;noquote@
    </property>

Or, you could put your javascript directly in your.adp where @js@ appears. BTW, this is how you would add css <link...> references also.

Randy