1. Make sure you do not have Optimize HTML enabled when you publish.
2. The page to be included must be a standard HTML page (use the FP new page command) with the
normal set of HTML tags, and have either a .htm or .html file extension and then you would insert
your JavaScript after the opening body tag, as the FP include component only includes the content
that is between the body tags in other pages.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
"The Jointer" <(E-Mail Removed)> wrote in message
news:2137C6BF-A3B0-4D9A-95F3-(E-Mail Removed)...
> Thanks for your reply. I wasn't sure if you meant that any .htm include file
> must have the tags that FP creates for the include to work, ie. FP strips
> them off. I tried the include with just the html & javascript (included
> after <body> tag as you suggested) actually needed to make the final page
> technically correct. All looks OK in the .dwt file in design view but does
> not appear when I preview the .dwt in the browser (IE6) nor in the .htm file
> that I attach the .dwt to. I just see the Webbot include statements. What am
> I doing wrong? Do I need to include the .htm as a .dwt file? I read somewhere
> that include only works if you include like into like file formats. I checked
> that my localhost site has FP server extensions in place.
> --
> TIA
>
> The Jointer
>
>
> "Thomas A. Rowe" wrote:
>
>> You could insert the menu as FP Include into the DWT non-editable region. Note: The page to be
>> included my have the default HTML tags that are generated when FP creates a new page, and all
>> JavaScript functions must be after the opening <body> tag in the page to be included in the DWT.
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "The Jointer" <(E-Mail Removed)> wrote in message
>> news
85E568E-6DFB-45AF-A397-(E-Mail Removed)...
>> >I have a set of menu rollover buttons which I want to use in various dynamic
>> > templates. However, I also want the templates to update when I update the
>> > button menu. I made the file containing only the menu (html + javascript)
>> > into a template file but I am not permitted to attach that to another
>> > template file. If I keep the menu file as a regular htm file then I can
>> > incorporate it into other templates. The problem then is that you do not get
>> > a cascading update since it is part of an editable region. Is there any way
>> > to do this? Without such a feature dynamic templates are rather limiting
>> > since it would mean manually updating all of the templates using the menu
>> > each time it is changed.
>> > --
>> > TIA
>> >
>> > The Jointer
>>
>>
>>