PDA

View Full Version : Front Page Site



ezra
05-27-2006, 11:56 PM
In front page there in the HTML TAG
Name script
Attributes name = language
Attributes value = Javascript 1.2


//Fade-in image slideshow- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

var slideshow_width='650px' //SET IMAGE WIDTH
var slideshow_height='396px' //SET IMAGE HEIGHT
var pause=3000 //SET PAUSE BETWEEN SLIDE (3000=3 seconds)


Anyway when I try to upload my site to www.simiwater.com
the site does not load right

Is there a reason front page is not reading this or what ?
Jeff
805-527-4397

jscheuer1
05-29-2006, 06:26 AM
I checked your link and the script appears to be working with no errors in IE6.

This is some standard stuff I have on FP:

Well, you might be able to configure FP so as to allow you to insert code like this without it mangling it so much. Read the manual or Google for help on that. Another alternative, and what I recommend in all cases like this, is to get your page looking like you want using FP but without any scripts. Save a copy of that somewhere to work on later if the need arises. Next open the page in notepad or simple text and add the scripts in according to the installation instructions, including any customization you've added. Never load this version of the page into FP ever again. To preview it locally, use the browser. To upload it, use FTP (preferred) or your host's online uploading tool.

Here is another solution I ran across* but, since I do not use FP, I haven't tested it:

In a text editor open the page whose code you wish to preserve.

At the beginning of the section of code you wish to prevent FrontPage from modifying, add the following line of code:


<!--webbot bot="HTMLMarkup" startspan -->

At the end of the code section, add the following line of code:


<!--webbot bot="HTMLMarkup" endspan -->

Save the changes to the file. The next time the file is opened in FrontPage, FrontPage will not attempt to alter the code between the two HTMLMarkup tags.

*Posted in these forums by usace-lrc and perhaps others.