Macro Expansion
Brian V Hughes
brianvh at dartmouth.edu
Wed May 8 16:19:03 PDT 2002
--On 05/09/02, Michel Benevento wrote:
> >Someone remind me, why doesn't
>>
>><body onload="{onload}">
>>
> >expand the defined preference 'onload' when evaluating #pageHeader?
>
>You need to write
>
>\<body onload="{onload}">
>
>to have stuff inside <>'s evaluated
Correct. Macros inside of HTML tags aren't normally evaluated. You
can either escape the tag that contains the macro, or you can set the
flag (in #prefs), or as a directive in a page object, for looking
inside HTML tags that's part of the new html.processMacros for
Frontier 8. The flag is "processMacrosInHtmlTags".
-Brian
More information about the Frontier-Users
mailing list