disappearing code

G

Guest

Some of my code disappears when I open it in a webpage. At the bottom of the
head on FP I've got:

</script><script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="../animate.js">
</script>
</head>

However, in internet explorer, whether opened locally or after publishing
online, the same head ends with this text:

</script>
<meta name="Microsoft Border" content="tlb, default">
</head>

Why does some of this very important text disappear???

Michael
 
T

Tom Willett

</script> as the opening tag?
--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| Try moving your script blocks to just below the opening body tag.
|
| Are you using Shared borders??
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| FP Cleaner
| http://www.95isalive.com/fixes/fpclean.htm
| Hit Me FP
| http://www.95isalive.com/fixes/HitMeFP.htm
|
|
|
| | > Some of my code disappears when I open it in a webpage. At the bottom
of the
| > head on FP I've got:
| >
| > </script><script language="JavaScript" fptype="dynamicanimation">
| > <!--
| > function dynAnimation() {}
| > function clickSwapImg() {}
| > //-->
| > </script>
| > <script language="JavaScript1.2" fptype="dynamicanimation"
| > src="../animate.js">
| > </script>
| > </head>
| >
| > However, in internet explorer, whether opened locally or after
publishing
| > online, the same head ends with this text:
| >
| > </script>
| > <meta name="Microsoft Border" content="tlb, default">
| > </head>
| >
| > Why does some of this very important text disappear???
| >
| > Michael
| >
|
|
 
G

Guest

No, /script is not the opening tag. There's a lot of material before that in
the head section. I was just trying to give a little context to my question
without overwhelming you with info. Can't figure this out! Michael
 
G

Guest

Steve,
I AM useing Shared Borders. Is that a problem?
It looks to me like that Script is drawn from the Shared Borders (not sure).
Is it possible to move them into the body or does that mess up my Top Border?
Michael
 
J

Jon Spivey

Hi,
The shared border only includes content between <body> </body> You can move
the script to just below the <body> tag and it will work fine.

Cheers,
Jon
 
G

Guest

I moved:
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation"
src="../animate.js">
</script>

below <body> on the problem pages (e.g.,
http://www.missioneperte.it/giovani/index.html) in which the text
highlighting doesn't work. As soon as I "Save", it moves itself back up
above the </head>.

This is just too strange. Any other ideas about why SOME pages aren't
working correctly?

Thanks.

Michael
 
S

Stefan B Rusynko

You have an Extra body tag 3/4 of the way down your page at ~line 485
<body onload="dynAnimation()" language="Javascript1.2">
It belongs at ~line 52

--

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


|I moved:
| <script language="JavaScript" fptype="dynamicanimation">
| <!--
| function dynAnimation() {}
| function clickSwapImg() {}
| //-->
| </script>
| <script language="JavaScript1.2" fptype="dynamicanimation"
| src="../animate.js">
| </script>
|
| below <body> on the problem pages (e.g.,
| http://www.missioneperte.it/giovani/index.html) in which the text
| highlighting doesn't work. As soon as I "Save", it moves itself back up
| above the </head>.
|
| This is just too strange. Any other ideas about why SOME pages aren't
| working correctly?
|
| Thanks.
|
| Michael
|
| "Jon Spivey" wrote:
|
| > Hi,
| > The shared border only includes content between <body> </body> You can move
| > the script to just below the <body> tag and it will work fine.
| >
| > Cheers,
| > Jon
| >
| > | > > Steve,
| > > I AM useing Shared Borders. Is that a problem?
| > > It looks to me like that Script is drawn from the Shared Borders (not
| > > sure).
| > > Is it possible to move them into the body or does that mess up my Top
| > > Border?
| > > Michael
| > >
| > > "Steve Easton" wrote:
| > >
| > >> Try moving your script blocks to just below the opening body tag.
| > >>
| > >> Are you using Shared borders??
| > >>
| > >> --
| > >> Steve Easton
| > >> Microsoft MVP FrontPage
| > >> FP Cleaner
| > >> http://www.95isalive.com/fixes/fpclean.htm
| > >> Hit Me FP
| > >> http://www.95isalive.com/fixes/HitMeFP.htm
| > >>
| > >>
| > >>
| > >> | > >> > Some of my code disappears when I open it in a webpage. At the bottom
| > >> > of the
| > >> > head on FP I've got:
| > >> >
| > >> > </script><script language="JavaScript" fptype="dynamicanimation">
| > >> > <!--
| > >> > function dynAnimation() {}
| > >> > function clickSwapImg() {}
| > >> > //-->
| > >> > </script>
| > >> > <script language="JavaScript1.2" fptype="dynamicanimation"
| > >> > src="../animate.js">
| > >> > </script>
| > >> > </head>
| > >> >
| > >> > However, in internet explorer, whether opened locally or after
| > >> > publishing
| > >> > online, the same head ends with this text:
| > >> >
| > >> > </script>
| > >> > <meta name="Microsoft Border" content="tlb, default">
| > >> > </head>
| > >> >
| > >> > Why does some of this very important text disappear???
| > >> >
| > >> > Michael
| > >> >
| > >>
| > >>
| > >>
| >
| >
| >
 

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