Frontpage inserts unwanted location data into all .htm files

  • Thread starter Thread starter Edward Burnes
  • Start date Start date
E

Edward Burnes

I have a problem with one of the subdirectories of a local
intranet site. The site was relocated a few months ago and
since that time one of the folders continuosly updates
all .htm files within the directory with old location
information.

Specifically what happens is that any time a .htm file
within this directory is opened (even if no changes are
made to the file), Frontpage updates every other .htm file
inserting the following text:

<script language="javascript"
src="/sdesk/web/eus_web.js"></script>

The text should read like below without the reference
to "/sdesk", which is where the site was originally
located:

<script language="javascript"
src="/web/eus_web.js"></script>

I have tried everything I can think of to fix this without
any luck. It appears that the original location of where
this web was located is written somewhere into a file that
stores the web location.

Any help would be appreciated.

Edward Burnes.
 
FP will not insert that code in any page unless:
- it is part of a shared border (not in the HEAD section of a page)
- it is part of an include page (not in the HEAD section of a page)
- it is part of a dynamic web template

Do you have the file "eus_web.js" in a folder "web" at the same level as the pages being opened
Provide a URL if the site is published

--




| I have a problem with one of the subdirectories of a local
| intranet site. The site was relocated a few months ago and
| since that time one of the folders continuosly updates
| all .htm files within the directory with old location
| information.
|
| Specifically what happens is that any time a .htm file
| within this directory is opened (even if no changes are
| made to the file), Frontpage updates every other .htm file
| inserting the following text:
|
| <script language="javascript"
| src="/sdesk/web/eus_web.js"></script>
|
| The text should read like below without the reference
| to "/sdesk", which is where the site was originally
| located:
|
| <script language="javascript"
| src="/web/eus_web.js"></script>
|
| I have tried everything I can think of to fix this without
| any luck. It appears that the original location of where
| this web was located is written somewhere into a file that
| stores the web location.
|
| Any help would be appreciated.
|
| Edward Burnes.
 
Stefan,

The code is part of a shared top border. It's actually a
top navigation javascript. I can only assume that when it
was originally created it had stored information about its
location that keeps being inserted back in.

My question is how to remove this without losing the
navigation bar.

Unfortunately it is on an Internal Intranet site so I'm
unable to send you the URL.

Edward Burnes.
-----Original Message-----
FP will not insert that code in any page unless:
- it is part of a shared border (not in the HEAD section of a page)
- it is part of an include page (not in the HEAD section of a page)
- it is part of a dynamic web template

Do you have the file "eus_web.js" in a folder "web" at
the same level as the pages being opened
 
FP does Not adjust paths of scripts for include pages or shared borders
In your case the script tag is inside of the BODY tag and being included w/o adjustment
That tag belongs in the HEAD section of a page so remove it from you shared border page and put it in the HEAD section of all pages
using it

--




| Stefan,
|
| The code is part of a shared top border. It's actually a
| top navigation javascript. I can only assume that when it
| was originally created it had stored information about its
| location that keeps being inserted back in.
|
| My question is how to remove this without losing the
| navigation bar.
|
| Unfortunately it is on an Internal Intranet site so I'm
| unable to send you the URL.
|
| Edward Burnes.
|
| >-----Original Message-----
| >FP will not insert that code in any page unless:
| >- it is part of a shared border (not in the HEAD section
| of a page)
| >- it is part of an include page (not in the HEAD section
| of a page)
| >- it is part of a dynamic web template
| >
| >Do you have the file "eus_web.js" in a folder "web" at
| the same level as the pages being opened
| >Provide a URL if the site is published
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| I have a problem with one of the subdirectories of a
| local
| >| intranet site. The site was relocated a few months ago
| and
| >| since that time one of the folders continuosly updates
| >| all .htm files within the directory with old location
| >| information.
| >|
| >| Specifically what happens is that any time a .htm file
| >| within this directory is opened (even if no changes are
| >| made to the file), Frontpage updates every other .htm
| file
| >| inserting the following text:
| >|
| >| <script language="javascript"
| >| src="/sdesk/web/eus_web.js"></script>
| >|
| >| The text should read like below without the reference
| >| to "/sdesk", which is where the site was originally
| >| located:
| >|
| >| <script language="javascript"
| >| src="/web/eus_web.js"></script>
| >|
| >| I have tried everything I can think of to fix this
| without
| >| any luck. It appears that the original location of where
| >| this web was located is written somewhere into a file
| that
| >| stores the web location.
| >|
| >| Any help would be appreciated.
| >|
| >| Edward Burnes.
| >
| >
| >.
| >
 

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

Back
Top