Shared borders, FP03, javascript form problem

M

Maureen

Hi, I am trying to add Google custom search to my shared border - it does not
show up when published. I had the same issue when I tried to include a
dynamic menu in the border - it would not show. Can you suggest a fix?
 
R

Ronx

Only the content between (and not including) <body> and </body> tags in a
shared border file are included into the pages using the shared border. Any
script or CSS in the body tag, or between the <head and </head> tags in the
shared border file will NOT be included in the pages using the shared
border.

So, if the Google search application (or any other feature) places script or
CSS in the <head> of the page this will have to be copied to EVERY page
using the shared border, or placed in an external file and a link placed in
every page.
A typical link for external JavaScript is:
<script type="text/javascript" src="scripts/myscript.js"></script>
which should be placed wherever the script should go.
Any calls to the script in the <body> tag will have to be placed there in
every page.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
 

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

Similar Threads


Top