> The problem is that I want it to go inside the <BODY>. It seems
> that EmbPerl
> moves it outside the <BODY>. onLoad can only be used within
> <BODY>, that's the
> problem.
>
Aah, now I see where the problem is. Execute will not work inside a html tag
that Embperl interprets. Currently only solution is to return the output of
the sub in a scalar and then include it in the body tag:
[- Execute ({inputfile => '*', 'sub' => 'js_start', output => \$out}) -]
<BODY [+ $out +]>
this should work.
> Btw. Is it possible to have a conditional execution? I want to
> execute this
> subroutine if it exists in the original file, but I don't want an
> error if it
> doesn't.
>
At the moment not
Gerald
> --
> Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
> Kaki Data tshirts, merchandize Fax: 3816 2582
> Howitzvej 75 �ben 14.00-18.00 Email: [EMAIL PROTECTED]
> 2000 Frederiksberg L�rdag 11.00-17.00 Web: www.suse.dk
>
> ---------------------------------------------------------------------
> 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]