FrontPage 2002 Tips
Prevent a page being saved in your visitors cache
If you want to prevent a page being saved in your visitor's cache you can do so by inserting the following three tags:
<META HTTP-EQUIV="expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="0">
How to spell check a page in another language.
Right click on a page and select Page Properties
Go to the Language tab and select the language of your choice from the 'Mark Current Document As' dropdown list. This informs FP which language you have selected for example German.
Now when you spell check by Tools | Spelling FP will then prompt you to install the German proofing tools. For this you will need your CD, once this has been installed it will spell check the document against the German dictionary.
Go to the Line Number
When you use code Validators they give you the line number to fix the code, in FrontPage 97/98 you had to cut and paste to notepad with wrap turned off and count down to the correct line number. Now in FrontPage 2000 and 2002 you can go to the line number on the html tab in page view.
Right-click anywhere in the HTML tab,
Then click Go To on the shortcut menu.
Type the number of the line you want to go to in the Enter Line Number box.
Creating bookmarks and named anchors
There is a simple way to create bookmarks and named anchors - simply select the text you wish to transform into a bookmark, then holding down the RIGHT mouse button, drag it to wherever you want the link generated. Then, when released, select 'Link Here' from the pop-up menu. Other choices on the menu are 'move here' 'copy here' and cancel.
Altering image sizes
If you simply resize images, FrontPage does not alter the file size. To make the file smaller too, you should select the 'Resample' icon in the Image toolbar after you have resized it.
If you find an icon to be greyed out its 'usually' because of the way the settings for compatibility are configured, to make sure this is not the problem do the following.
Go to Tools | Page Options | Compatibility Tab | set all boxes to custom and tick everything click ok and say yes when it asks to refresh your web.
Editing a Shared Border
At some point you may want to access the html of a shared border, in order to do this the first time, do the following:
First make sure you have the hidden folders box ticked.
Tools | Web settings | Advanced Tab | Make sure the 'Show documents in hidden directories' box is ticked. Press ok.
You will be asked to refresh the web.
Go to the Folders View and you will see a folder called _borders double click to open and then you can click on the borders .htm files that you have in your web. There will be the border pages that you have enabled on your web through Format | shared borders so if you only enabled the left border the left.htm file will only be available to bring up.
You can then edit like a normal page. If you want the others to be available you must enable them through Format | Shared Border and ticking the appropriate pages, then press ok. You must then save a page in your site that has them enabled and refresh the web to bring them up.
After editing your web, and before publishing ALWAYS go to Tools | Recalculate Hyperlinks, when asked to refresh say yes. Why? Your FrontPage TOC (Table of Contents) and Search Bots need this to happen in order to note new links and delete references to deleted files. It also helps with publishing your site, as FrontPage does not have any conflicts to resolve and so takes less time to publish.
Once a week open up the web live on the server and recalculate hyperlinks there as well.
Getting rid of unwanted Graphics
Go to 'Hyperlinks View' if 'Folder List' is not open go to 'View' and click the 'Folder List' icon.
Note: All graphics should be saved in the Images folder.
Double click the Images folder to open it and start with the first graphic select it and on the right you will see either blue lines leading from the graphic or none at all. If it has blue lines then it's linked to something on your website if there are none then it's truly an orphan graphic and not being used.
If you want to save the graphics for use at a later time just open up another instance of FrontPage and drag the file over the icon of the other FrontPage application in the status bar at the bottom of your screen, it will open up and you can just drop it into a website you made earlier I do this and call mine storehouse. You then need to delete the graphic in the web your checking. You can check if it's a graphic you want to keep by double clicking the graphic in the right hand pane and your image editor should bring up the graphic for your preview.
If you don't want to keep it just right click and choose delete.
Work your way down the list of graphics. When you have finished go to Tools | Recalculate Hyperlinks as your web needs to know where everything is now.
Drag that link
A quick way to insert a link into FrontPage is to position your cursor over the Internet explorer icon in the address bar and drag the icon using either your left or right mouse button and hover over your FrontPage Application Icon in the status bar of your monitor, after a few seconds FrontPage will pop up and you can then release the link, using the right mouse button a dialog box will pop up asking you to 'Create Hyperlink'. Using the left button just deposit it. The link is then created and the text is used from the title of the page you dragged the hyperlink from.
That link out there! (for v2k/02 only)
If you want to link to an external site within the navigation bar this is what you do.
Go to Navigation View right click on the view select 'New Top Page' or select the page you want to use.
Right click on the 'New Top Page' and select 'External Hyperlink' Input the URL you wish to use, Click OK.
For a work around for FP98 see http://accessfp.net/tip3.htm Tip 7
Position your cursor at the text you want to highlight Press SHIFT and END then the text is highlighted. Plus if you continue to press shift and press the down arrow key subsequent text is also highlighted.
We know that to obtain single spacing while writing content one presses enter while holding down the shift key (Shift + Enter) However what happens if you want to reformat text already written?
1) Highlight what you want to become single-spaced or click 'Select All' from the 'Edit' menu if you want the entire document to be that way.
2) Click on 'Format', then 'Paragraph'
3) Change the Spacing 'Before' and Spacing 'After' to zeros.
4) Click on 'Line Spacing', then 'Single'.
5) Click OK. To make this work you must make the spacing before and after a zero you can also make it a 1, which will bring it slightly further apart.
Missing your Menu Bar?
Close down FrontPage. Search your hard drive for the file cmdUI.prf when you find it, delete it and then bring up FrontPage 2000/02 all should then be well.
Hang-ups with FP2000
If FrontPage hangs it could be because the file has gone beyond 32,768 lines of code. There is a limit to the size of files that can open for editing, and if you go over this magic number FrontPage will 'hang' so try to keep your file size down. You can always open the file in notepad to delete some of the code if this happens.
You may need to spell check a page in another language how do you do that?
Right click on a page and select 'Page Properties'.
Go to the 'Language' tab and select the language of your choice from the 'Mark Current Document As' dropdown list. This informs FP which language you have selected for example German.
Now when you spell check by Tools | Spelling, FP will then prompt you to install the German proofing tools. For this you will need your CD, once this has been installed it will spell check the document against the German dictionary.
Themes zip files
Most times themes are contained in a zip file when you download them. Here is what you need to do once you download the file:
1. Open the zip file
2. Unzip all the files (using a program such as Winzip, which can be found at http://www.winzip.com )
Note: unzip each theme to a separate folder and make sure that the name of the folder is the name of the .elm file below are the two paths for fp98 and fp2k.
FrontPage 98 -
C:\Program Files\Microsoft Front Page\Themes\*\
FrontPage 2000/02 -
C:\Program Files\Common Files\Microsoft Shared\Themes\*\
*(Insert name of folder for theme here)
3. Open Microsoft FrontPage
4. For FrontPage 98 - Apply the theme by going to the themes view and selecting it.
For FrontPage 2000/02 - Apply the theme by going to the Format menu and selecting 'Theme'.
Keeping your code clean
If you want to make sure your code is not changed in any way the best way to 'keep' your code is to use the html markup box. - Usually used for scripts.
FrontPage 2002 - Insert Menu | Web Component | click 'Advanced Controls' (in the left hand pane) and then 'HTML' icon (in the right hand pane) click Finish.
First position your cursor where you want it to appear in normal view. Next insert your script or code that you don't wish to be changed into the box that pops up and press OK.
When you have done this unless you have the 'show/hide' icon (shaped like a P - to make it appear press the icon or use the keyboard. Control + Shift + *) depressed you won't see the little yellow markers. (Small yellow box with <?> written on them). To access the code again just double click this box and the mark-up box will pop open and you can edit the code. Using the
'show/hide' icon will also show you paragraph marks and other formatting marks (similar
to F12 in WordPerfect)