Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My code moved in FrontPage 98 why?

Status
Not open for further replies.

JimRich

Programmer
Oct 23, 2000
57
US
I entered a line of text in my html code using FrontPage Ed. The code was copied from another document but it goes in the the <head> section. It is configuration data and image location i.e.
<script src=&quot;slideshow.js&quot;></script>

// Configure the slideshow object
myslideshowobj = new slideshow(&quot;myslideshowobj&quot;) myslideshowobj.timeout = 5000
myslideshowobj.add_slide(&quot;images/jcrules.gif&quot;,&quot;display.asp?picture=jcrules.gif&amp;CatNum=JC&quot;)
myslideshowobj.add_slide(&quot;images/jcrTag.jpg&quot;,&quot;display.asp?picture=jcrTag.jpg&amp;CatNum=IG&quot;)
//--&gt;
When I press the &quot;save&quot; button it is changed to look like this:

<script src=&quot;slideshow.js&quot;></script>
</head>

<body>

<p>// Configure the slideshow object myslideshowobj = new
slideshow(&quot;myslideshowobj&quot;) myslideshowobj.timeout = 5000
myslideshowobj.add_slide(&quot;images/jcrules.gif&quot;,&quot;display.asp?picture=jcrules.gif&amp;CatNum=JC&quot;)
//--&gt; </p>

I do not know the configuration setting that causes this to happen. Any and all help will be appreciated.
 
FrontPage has it's own built in formatting rules that can be quite annoying at times. Basically they seem to be designed to make source code unreadable and esthetically unpleasing. I don't know how to change it either.
Jeff
masterracker@hotmail.com

If everything seems to be going well: you don't have enough information.......
 
From what I understand, FP98 was really bad about changing your code. FP2000 is suppose to not do it as much. Try upgrading. FP2000 is a better product that 98
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top