Shared Borders and JavaScript

R

rgoetz

HI, I created javascript mouseovers and added it as an include into a shared border. It works great on the index page, but won't run the script or the images disappear in pages in folders below the root folder. Also, the webbot to indicate shared borders is not showingup.
 
S

Stefan B Rusynko

Shared borders and Include Pages are design time tools w/ the content (inside the <BODY> tags) of the Shared Border or Include page
"embedded" or included as html in your pages when you save any of the file(s) using them (or save the borders / include pages
themselves)

Any script in the HEAD section or script loads in the BODY tag are not included, and FP does not adjust any relative links in any
script tags

FP converts your page(s) to a series of tables to include the Shared borders, (which are really just a special case of Include
pages)
But FP can not build those tables if either your shared border page content or main page content has illegal html or broken tag
pairs
- usually due to missing </body></html> tags, or unmatched table / cell tags (unclosed table / cell tags), or some other unclosed
html block element

If you can see them using File Preview in Browser they will publish in as part of your pages

If you can't see them using File Preview in Browser, it's because FP can not build the included content tables, so you need to
validate and correct your broken html





| HI, I created javascript mouseovers and added it as an include into a shared border. It works great on the index page, but won't
run the script or the images disappear in pages in folders below the root folder. Also, the webbot to indicate shared borders is
not showingup.
 

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