Adding and Using FrontPage Components and Features
In This Chapter
Which Components Require FrontPage Extensions?
Editing Web Pages
Forms, Discussion Webs, Hit Counters, and More
Photo Gallery
Interactive Content
Global Site Editing
Recap
Advanced Project components require the extensions on the server so that you can avoid using them.
If you are publishing to a server that has an older version of the FrontPage server extensions installed, it is helpful to know which FrontPage 2002 features won't work as well.
Features that Require at Least FrontPage 98 Server Extensions
The following components will run fine with either FrontPage 2002 or FrontPage 98 extensions:
Confirmation Field
Discussion Form Handler
FrontPage-Created Server-Side Image Maps
Hit Counter
Registration Form Handler
Save Results Form Handler
Search Form
Features that Require at Least FrontPage 2000 Server Extensions
These features will not work with anything less than or older than FrontPage 2000 extensions:
Database Results Wizard
Send to Database Form Handler
Nested Subwebs
Lightweight Source Control (document check-in/check-out without VSS)
Categories Component
Style Sheet Links to Multiple Files or ASP Files
Features that Require FrontPage 2002 Server Extensions
The following features are new to FrontPage 2002 and will work only with FrontPage 2002 server extensions
File Upload
Custom Link Bars
Shared Border Background Properties
Usage Analysis Reports
Top Ten List Web Components
New Security Features (User Roles)
Features that Require FrontPage 2002 Server Extensions and SharePoint Team Services
Document Library
List
Survey
Team Discussion Board (this is not the same feature as the Discussion Web Wizard)
List and Document Library Views
List Forms
SharePoint Team Web Site Wizard
Editing Web Pages
To edit your Web pages, you must first open your FrontPage web. If you have the Personal Web Server (PWS) or Internet Information Server (IIS) installed on your computer, you will be able to open your web via the server by typing in the URL in the Folder name box of the Open Web dialog box.
To open your shelley web that you created in the last chapter, if it was created against your PWS or IIS on localhost:
Open FrontPage.
In the File menu, select Open Web, and the Open Web dialog box will open (see Figure 31).
FIGURE 31 Open Web dialog boxWeb Folders.
In the Folder name box at the bottom of Open Web dialog box, type in http://localhost/shelley (that is, if you named the web we created in the previous chapter shelley). Figure 31 shows the Open Web dialog box.
The next time you open the Open Web dialog box, you will see a shortcut to shelley on localhost Under My Network Places
If you do not have the PWS installed and you stored your web on your hard drive, use the Look in dropdown menu at the top of the Open Web dialog box (see Figure 31) to navigate to the web's location on your hard drive.
Hyperlinks
Adding a hyperlink in FrontPage is very simple. You may hyperlink text or images in much the same way. To add a hyperlink to a block of text, select the text you want to hyperlink by left-clicking on your mouse at the beginning of the word, text, or sentence, drag the mouse to the end of that block of text, and let go. The text you want to hyperlink should now be highlighted for you. Now, right-click on your mouse and choose Hyperlink from the menu, or click the Hyperlink icon (see Figure 32) from the toolbar at the top of the FrontPage Editor.
FIGURE 32 Adding a hyperlink to text.
In the Insert Hyperlink dialog box, you may enter a full URL to a page outside of your web, or you can choose a file or page from within your web in the window just under the Look in dropdown menu (see Figure 33).
FIGURE 33 Create Hyperlink dialog box.
The Insert Hyperlink dialog box includes the Target frame selection. By clicking the Target Frame button on the right of the dialog box, you can choose a target for your hyperlink in the Target dialog box. Selections in this dialog box include:
Page DefaultThis is the default target chosen, which is no target selected.
Same FrameUsed in framesets, this targets a hyperlink to open in the same frame.
Whole PageThis forces a target to open in the full browser; useful in frames if you want a target to open in a whole browser window, rather than in the frameset.
New WindowThis opens the target link in a new browser window.
Parent FrameThis is also used in frames; it loads the document into the immediate frameset parent of the current frame. This value is equivalent to _self if the current frame has no parent.
Mailto Hyperlinks
Click the E-mail Address button on the bottom left of the Insert Hyperlink dialog. This screen is where you create a hyperlink that will launch the visitors email software and send an email from the site. Enter the email address that you want linked or select an email address from the recently added email addresses box on the bottom (if applicable). You may also enter a line in this screen for the subject line of the email address. Click the OK button to complete this task (see Figure 34).
FIGURE 34 Insert HyperlinkE-mail Address.
Note about Mailto hyperlinks with subject lines
Some email clients will not add anything past the first space into the subject line of an email message. To keep the entire message intact, add underscores in the subject line instead of spaces, for example:
mailto:test@shelleybio.com?subject="Shelley_Biotechnologies_email_request
To have a Mailto hyperlink sent to more than one email address using the CC field, add the following to the Mailto line in the Create Hyperlink dialog box:
mailto:id@company.com?Cc=id2@company.com?Subject="Subject_test"
Bookmark Hyperlinks
Bookmarks are hyperlinks that link to a "spot" on a page. One of the more popular uses of the bookmark hyperlink is the Top of Page links that, when clicked, take the visitor back to the top of the page. To create a bookmark link, you must insert the bookmark onto the page where you want visitors taken when they click on the bookmark link.
Let's create a bookmark on a page for the Top of Page link, then create the Top of Page hyperlink.
Place your cursor at the highest point on the top of your Web page that you can.
Select Bookmark from the Insert menu, or press and hold the <Ctrl> key on your keyboard and press the <G> key at the same time to open the Insert Bookmark dialog box.
Type in top for the bookmark name and click the OK button. Your bookmark is marked in normal view only as a blue flag. FrontPage does this to let you know at a glance that you have a bookmark in place, but this flag will not show in preview or in the browser.
Now place your cursor on your page where you would like to create a Top of Page hyperlink, usually at the bottom of the page, and type the text Top of Page.
Highlight the Top of Page text and either:
Click the Hyperlink button or
Right-click and select Hyperlink from the popout menu to launch the Insert Hyperlink dialog box.
Click the Bookmark button on the right and highlight the top bookmark that is threaded under the Bookmarks menu (see Figure 35).
FIGURE 35 Select Place in Document dialog boxInsert a Bookmark.
This hyperlink will take the viewer to a bookmarked place on the page, which in this example is the top of the page. You can create several bookmarks on a page.
Another common use for the bookmark is a directory listing. When you have numerous members in a directory and you want to give your site visitors a way to view members by last name, state, or some other variable, you can use the bookmark feature for this.
To link to a bookmark on another page, in the Insert Hyperlink dialog box, highlight the page to which you want to link. Then click the Bookmark button. This enables FrontPage to load the bookmarks from the highlighted page into the Select Place in the Document dialog box.