remove hidden code that is only visible in Script Editor

Z

zSplash

After FTP'ing my files to my website, I happened to look at the "View Code"
of a page. I have a local link which was not visible in FrontPage when I
finished editing my code. I edit the page in Front Page, and still cannot
see this local link. So, trying to discover some way to "show hidden links"
or something, I happen upon the Script Editor. When I click on that, I can
see the "hidden [local link] code", but front the Script Editor, every time
I try to save the code (with the now-deleted local link), the local link is
re-added to the code:
<!--mstheme--><link rel="stylesheet"
href="file:///C:/Documents%20and%20Settings/me/Local%20Settings/Temporary%20Internet%20Files/FrontPageTempDir/mstheme/blocks/bloc1111.css">

I don't want that local link (especially to show in "View Source" on the
website), yet can find no way in Front Page to delete it. I had to download
an evaluation copy of Dreamweaver, where I can easily both see the local
link and quickly delete it from my code.

What's the deal with Front Page? How can I:
1. see any "hidden" code like this? (have I toggled some option?)
2. delete the local link in Front Page?

TIA
 
T

Thomas A. Rowe

A link the starts with "file://" is a indication that you worked on the page without having first
opened a Site in FP (File Menu | Open Site).

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
Z

zSplash

Thanks for responding. Is there any way to remove the line without starting
over completely (in FrontPage)?

Thomas A. Rowe said:
A link the starts with "file://" is a indication that you worked on the
page without having first opened a Site in FP (File Menu | Open Site).

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


zSplash said:
After FTP'ing my files to my website, I happened to look at the "View
Code" of a page. I have a local link which was not visible in FrontPage
when I finished editing my code. I edit the page in Front Page, and
still cannot see this local link. So, trying to discover some way to
"show hidden links" or something, I happen upon the Script Editor. When
I click on that, I can see the "hidden [local link] code", but front the
Script Editor, every time I try to save the code (with the now-deleted
local link), the local link is re-added to the code:
<!--mstheme--><link rel="stylesheet"
href="file:///C:/Documents%20and%20Settings/me/Local%20Settings/Temporary%20Internet%20Files/FrontPageTempDir/mstheme/blocks/bloc1111.css">

I don't want that local link (especially to show in "View Source" on the
website), yet can find no way in Front Page to delete it. I had to
download an evaluation copy of Dreamweaver, where I can easily both see
the local link and quickly delete it from my code.

What's the deal with Front Page? How can I:
1. see any "hidden" code like this? (have I toggled some option?)
2. delete the local link in Front Page?

TIA
 
D

David Berry

You could use Find and Replace (search in code) and search for file:/// and
replace it with a blank space

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/


zSplash said:
Thanks for responding. Is there any way to remove the line without
starting over completely (in FrontPage)?

Thomas A. Rowe said:
A link the starts with "file://" is a indication that you worked on the
page without having first opened a Site in FP (File Menu | Open Site).

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


zSplash said:
After FTP'ing my files to my website, I happened to look at the "View
Code" of a page. I have a local link which was not visible in FrontPage
when I finished editing my code. I edit the page in Front Page, and
still cannot see this local link. So, trying to discover some way to
"show hidden links" or something, I happen upon the Script Editor. When
I click on that, I can see the "hidden [local link] code", but front the
Script Editor, every time I try to save the code (with the now-deleted
local link), the local link is re-added to the code:
<!--mstheme--><link rel="stylesheet"
href="file:///C:/Documents%20and%20Settings/me/Local%20Settings/Temporary%20Internet%20Files/FrontPageTempDir/mstheme/blocks/bloc1111.css">

I don't want that local link (especially to show in "View Source" on the
website), yet can find no way in Front Page to delete it. I had to
download an evaluation copy of Dreamweaver, where I can easily both see
the local link and quickly delete it from my code.

What's the deal with Front Page? How can I:
1. see any "hidden" code like this? (have I toggled some option?)
2. delete the local link in Front Page?

TIA
 
Z

zSplash

Thanks, David. I did precisely what you say, and "found" nothing, but when
I opened the Script editor, I then "found" it. Do you know anything about
hidden text in FrontPage? (i.e., not found on search, but clearly seen in
Script editor...)

David Berry said:
You could use Find and Replace (search in code) and search for file:///
and replace it with a blank space

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/


zSplash said:
Thanks for responding. Is there any way to remove the line without
starting over completely (in FrontPage)?

Thomas A. Rowe said:
A link the starts with "file://" is a indication that you worked on the
page without having first opened a Site in FP (File Menu | Open Site).

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================


After FTP'ing my files to my website, I happened to look at the "View
Code" of a page. I have a local link which was not visible in
FrontPage when I finished editing my code. I edit the page in Front
Page, and still cannot see this local link. So, trying to discover
some way to "show hidden links" or something, I happen upon the Script
Editor. When I click on that, I can see the "hidden [local link]
code", but front the Script Editor, every time I try to save the code
(with the now-deleted local link), the local link is re-added to the
code:
<!--mstheme--><link rel="stylesheet"
href="file:///C:/Documents%20and%20Settings/me/Local%20Settings/Temporary%20Internet%20Files/FrontPageTempDir/mstheme/blocks/bloc1111.css">

I don't want that local link (especially to show in "View Source" on
the website), yet can find no way in Front Page to delete it. I had to
download an evaluation copy of Dreamweaver, where I can easily both see
the local link and quickly delete it from my code.

What's the deal with Front Page? How can I:
1. see any "hidden" code like this? (have I toggled some option?)
2. delete the local link in Front Page?

TIA
 
S

Stefan B Rusynko

Do not use script editor to edit html tags
- Script editor will add temporary tags which are not save to your page when you close script editor
Search for the tag in FP
or post the URL to the page online

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| Thanks, David. I did precisely what you say, and "found" nothing, but when
| I opened the Script editor, I then "found" it. Do you know anything about
| hidden text in FrontPage? (i.e., not found on search, but clearly seen in
| Script editor...)
|
| | > You could use Find and Replace (search in code) and search for file:///
| > and replace it with a blank space
| >
| > --
| > David Berry
| > FrontPage Support: http://www.frontpagemvps.com/
| >
| >
| > | >> Thanks for responding. Is there any way to remove the line without
| >> starting over completely (in FrontPage)?
| >>
| >> | >>>A link the starts with "file://" is a indication that you worked on the
| >>>page without having first opened a Site in FP (File Menu | Open Site).
| >>>
| >>> --
| >>> ==============================================
| >>> Thomas A. Rowe
| >>> Microsoft MVP - FrontPage
| >>>
| >>> http://www.Ecom-Data.com
| >>> ==============================================
| >>>
| >>>
| >>> | >>>> After FTP'ing my files to my website, I happened to look at the "View
| >>>> Code" of a page. I have a local link which was not visible in
| >>>> FrontPage when I finished editing my code. I edit the page in Front
| >>>> Page, and still cannot see this local link. So, trying to discover
| >>>> some way to "show hidden links" or something, I happen upon the Script
| >>>> Editor. When I click on that, I can see the "hidden [local link]
| >>>> code", but front the Script Editor, every time I try to save the code
| >>>> (with the now-deleted local link), the local link is re-added to the
| >>>> code:
| >>>> <!--mstheme--><link rel="stylesheet"
| >>>>
href="file:///C:/Documents%20and%20Settings/me/Local%20Settings/Temporary%20Internet%20Files/FrontPageTempDir/mstheme/blocks/bloc1111.css">
| >>>>
| >>>> I don't want that local link (especially to show in "View Source" on
| >>>> the website), yet can find no way in Front Page to delete it. I had to
| >>>> download an evaluation copy of Dreamweaver, where I can easily both see
| >>>> the local link and quickly delete it from my code.
| >>>>
| >>>> What's the deal with Front Page? How can I:
| >>>> 1. see any "hidden" code like this? (have I toggled some option?)
| >>>> 2. delete the local link in Front Page?
| >>>>
| >>>> TIA
| >>>>
| >>>>
| >>>
| >>>
| >>
| >>
| >
| >
|
|
 

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