How do I include a file with JavaScript between <head>and </head>?

B

Bob

I would like to use contents of one of my pages appears on top of every page.
I used included content page, from inserting the web component, but my page
does not appear. This page has a couple of JavaScript functions before the
body tag (between <head> and </head>. Is there anyway, either with include
content or other feature that I can include my page on every single page? (Of
course not by copying all codes)
 
R

Ronx

FP2003 - use a Dynamic Web Template and attach to all pages.

Move the javascript to immediately after the <body> tag in the include
pages, if it will run from that position.

Otherwise - copy all the code to all pages. (The Javascript can be placed
in an external file, and a link of the form
<script type="text/javascript" src="myfile.js"></script> added to the head
section of every page.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top