Script Problem

J

jose

think FrontPage is doing something strange whenever it sees a link.
It wraps the link with a href tag

So
<SCRIPT src="http://www.felicite.com/Felicite.js"></SCRIPT>
Becomes
<SCRIPT src="<a href="
http://www.felicite.com/Felicite.js">http://www.felicite.com/Felicite.js</a>
"></SCRIPT>

So it wraps the http://www.felicite.com/Felicite.js
Inside a href tag
<a href="
http://www.felicite.com/Felicite.js">http://www.felicite.com/Felicite.js</a>

Is there a setting you can turn off so that Frontpage does not automatically
encapsulate each link it sees in the code?
 
K

Kevin Spencer

Are you typing/pasting into the Design view or the HTML view? Use the HTML
view.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
S

Stefan B Rusynko

Could be because your html on your home page is malformed at http://www.felicite.com/

Move the tag at the top
<link href="/global.css" rel="stylesheet" type="text/css">
into the HEAD section

Move the whole embedded style you have below the </head>
Starting with <STYLE TYPE="text/css">... into the HEAD section

_____________________________________________
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
_____________________________________________


| copy and paste from another prgrammer and we typed them in....but it still
| puts a "href" around it.
|
|
| | > think FrontPage is doing something strange whenever it sees a link.
| > It wraps the link with a href tag
| >
| > So
| > <SCRIPT src="http://www.felicite.com/Felicite.js"></SCRIPT>
| > Becomes
| > <SCRIPT src="<a href="
| >
| http://www.felicite.com/Felicite.js">http://www.felicite.com/Felicite.js</a>
| > "></SCRIPT>
| >
| > So it wraps the http://www.felicite.com/Felicite.js
| > Inside a href tag
| > <a href="
| >
| http://www.felicite.com/Felicite.js">http://www.felicite.com/Felicite.js</a>
| >
| > Is there a setting you can turn off so that Frontpage does not
| automatically
| > encapsulate each link it sees in the code?
| >
| >
|
|
 

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