PDA

View Full Version : Frontpage combatible?



12rusty12
03-11-2007, 12:13 PM
1) Script Title: preload slide show

2) Script URL (on DD): dynamicdrive.com/dynamicindex14/preloadslide.htm

3) Describe problem: I am building a web with frontpage and have set out my tables and am attempting to paste the code in the relevant position. Once the code is pasted it appears not only in the html code area but also on the main page and wont work . OK, I'm a novice, so what am i doing wrong?

12rusty12

jscheuer1
03-11-2007, 04:38 PM
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 trick I ran across* that should stop FP from changing scripts 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. You still need to put the script into the page with a text editor.

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