<< . .

. 49
( : 51)

. . >>

Scrolling marquees
Scrolling marquees present text scrolling across your screen. A scrolling marquee is one
Web component that doesn™t require you to save your site to a Web server. You don™t need to
preview your Web page in a browser to see how your marquees will look. You can test them
in the Preview tab of Page view.
To create a scrolling marquee, click in Page view to set the insertion point for the marquee.
Then, select Insert _ Web Component _ Dynamic Effects, and double-click Marquee. The
Marquee Properties dialog box displays, as shown in Figure 23-8.

Figure 23-8 The Marquee Properties dialog box

You can adjust many scrolling text properties via the Marquee Properties dialog box. The
Background Color drop-down menu lets you select a background for the scrolling text.
Experimenting with the three radio buttons in the Behavior area is pretty safe. And you can
use the Right or Left radio buttons to define the direction of your scroll. You can also fiddle
with the Delay and Amount spin boxes in the Speed area of the dialog box.
Chapter 23 ¦ Adding FrontPage Web Components 571

After you enter text in the Text field, click OK. You can see how your scrolling text will
look in a browser by using the Preview tab of Page view. To resize your scrolling text
marquee, click and drag side or corner handles (back in the Normal tab of Page view).
For those of you determined to blaze the cutting edge of scrolling text displays, feel free to
experiment with the various options available. Remember that if you get in trouble, you can
always delete a messed up marquee and start from scratch with the default settings. The
following are the available options in the Marquee Properties dialog box:
. Scroll: The text starts at the left (unless you have Right set under Direction) and
moves to the right until all the text has moved off the screen, and then it repeats.
. Slide: Similar to Scroll, except that when the first letter hits the right edge of the
marquee, the text disappears and starts again at the left.
. Alternate: The text bounces back and forth between the left and right edges of the
marquee, like a ping-pong ball.
You can edit many of the marquee properties in Page view using the Formatting toolbar. For
example, you can click the marquee and select text size, color, and font, and apply attributes
such as italics or boldface. You can also resize the marquee in Page view by clicking and
dragging the sizing handles.

Web search
The Web Search component creates a form that allows visitors to search all or part of your
Web for pages containing one or more text strings. Results of a search are displayed by
listing the titles of matching pages, with each title hyperlinked to the actual page. Details of
the results page can also be controlled via the Search Form component. If you have a
content-rich Web and are looking for a relatively simple way to enhance the usability of
your Web site, the Search Form component could be just the thing.

Search forms only work if your Web is published to a server with FrontPage extensions.

To place a Web search form in your Web page, place your insertion point where the search
box should appear, and select Insert _ Web Component _ Web Search, and double-click
Current Web in the Insert Web Component dialog box. The Search Form Properties dialog
box appears, as shown in Figure 23-9.
Part III ¦ Beyond Mastery: Initiative within Office

Figure 23-9 Defining a search box

At this point, you can click OK to insert a default search box, or you can adjust the way the
search box collects input and the results that it generates.

Search form properties
The redundantly named Search Form Properties tab of the Search Form Properties dialog
box enables you to define how your search form will look. You can change these options:
. Label for Input: Displays a label for your search box input field. You can change it
to “Tell us what topic you are interested in” or “What are you looking for?” or some
other label. Often, the default “Search For:” works fine.
. Width in Characters: Controls the width of the input field display, not how much
data users can input. Visitors can still enter 40 characters in a 20-character field.
. Label for “Start Search” Button: Displays a name for the button that starts the
search. Keep the default, or create your own.
. Label for “Reset” Button: You can change the default name for the button that
clears whatever a visitor has typed into the search box field.

Caution The width in characters displays differently in Internet Explorer and Netscape Navigator. Test
your page in both browsers to ensure that your visitors are seeing what you want them to see.
Chapter 23 ¦ Adding FrontPage Web Components 573

Displaying search results
The Search Results tab in the Search Form Properties dialog box controls which pages are
included in search results, and how results are displayed.
The three menu options at the top of the Search Results tab control the results:
. Word List to Search: Searches all folders in your Web site including subwebs,
except those that begin with an underscore (for example, _private or
. Date Format: Displays the date format that will be used.
. Time Format: Displays the time format that will be used.

Search Result Options Vary
Not only is the Web Search component dependent on a server with FrontPage Server Extensions,
but the options for displaying search results vary depending on which version of server extensions
are installed. They even vary depending on what kind of server you are using.
Most Web component options that require FrontPage extensions work the same on any kind of
server ” UNIX, Linux, Microsoft Internet Information Services (IIS), and so on. However, search
form properties are a little different for IIS, and other servers. The description of search results
options here may differ slightly from your options depending on the kind of server you use.
If your site is published to a server running IIS, the search form uses Microsoft™s Indexing Service to
search the text index. Since Indexing Service has more extensive support for searching Microsoft Office
documents, you get more search options when your site is connected to an IIS server.
If you publish your site to a server using FrontPage extensions on a non-IIS server, FrontPage uses a
different search engine ” the Wide Area Information Server (WAIS) ” to search the text index.
Finally, depending on which server you publish to, index files must sometimes be activated by
server providers. If your search engine isn™t working, contact your server provider and make sure
the necessary index files have been created at the server.
As we go to press, Microsoft is providing information on these issues at:
Is all this too much hassle? One option is to use one of the free, downloadable search boxes
available from folks like FreeFind.com (www.freefind.com) These search boxes don™t require
FrontPage Server Extensions.

The three check boxes under Display Options determine the display results that are
used, which include Display score (closeness of the matches), file date, and file size of
the matches. Figure 23-10 shows the Search Results tab of the Search Form Properties
dialog box.
Part III ¦ Beyond Mastery: Initiative within Office

Figure 23-10: FrontPage allows tremendous control over how search results are dis-

Spreadsheets and charts
You can insert Office spreadsheets, charts, and Office PivotTables into your Web pages.

Hit counters
The Hit Counter component displays the number of times a particular page has been
accessed, or hit. To insert a hit counter, select Insert _ Web Component, and click Hit
Counter. Then, select one of the counter styles that appears on the right side of the Insert
Web Component dialog box, and click Finish. The Hit Counter Properties dialog box
To define a hit counter begin in the Hit Counter Properties dialog box, and click a radio
button to select a style for your hit counter. Use the Reset Counter To check box if you want
to enter a starting number other than zero (which is the default). Use the Fixed Number of
Digits check box to enter a set number of digits for your hit counter. After you define your
hit counter, click the OK button. Your hit counter displays when you preview your Web page
in your browser. You will see a code Hit Counter in Page view.
In Design mode, the hit counter appears as a series of numbers displayed on your page, as
shown in Figure 23-11. The hit counter doesn™t actually work until the page has been
published to a server with FrontPage Server Extensions.
Chapter 23 ¦ Adding FrontPage Web Components 575

Figure 23-11: Hit counters don™t work in Page view.

Hit counters record how many hits your Web site has received. Hits correspond to visits (if a
visitor refreshes his or her browser window, that counts as an additional hit). The following
are the two basic approaches to using a hit counter:
. Use it to show off how many hits your site is getting. Of course, the credibility of a
hit counter is somewhat suspect, because (as you™ll soon see) you can set your own
starting number. Still, a valid reason sometimes exists to display a count of how
many folks have been to a site.
. Use it for your own purposes, just to keep track of the effectiveness of your site.
You can place a hit counter at the bottom of a page, where visitors are not likely to
notice it.
Figure 23-12 shows a hit counter that is subtly stashed at the very bottom of a Web page,
where it quietly keeps track of visitors.
Part III ¦ Beyond Mastery: Initiative within Office

Figure 23-12: Hit counters can be placed where they are not a focus of attention for
visitors. In this page, the counter is in the lower-right corner of the page.

Free Hit Counters on the Web
Want a hit counter, but don™t have FrontPage extensions? Many companies offer free, embeddable
hit counters. In turn, they have you display ad banners for their service. You can find free hit
counters at www.cybercount.com/, http://www.beseen.com/hitcounter/, and
And guess what? These hit counters provide a lot more information than the FrontPage version.
Many provide detailed logs showing where your visitors came from, what time they visited your site,
the browser they used, and other valuable information if you are trying to monitor and evaluate the
traffic on your Web site.
Third-party providers let you embed their hit counters in your site by providing you with some lines
of HTML that you insert in your site. Often, they e-mail this code to you. Other times, they provide it
on their Web site. In either case, copy the HTML code into the Clipboard. To paste it into FrontPage,
click to place your insertion point in Page view, and choose Edit, Paste Special. From the Paste
Special dialog box, choose the Treat as HTML options button, and click OK. The HTML code will be
pasted into your page, and the third-party hit counter will appear.
With a little work, you can set up one of these free hit counters with the accompanying banner ad
stashed quietly out of everyone™s way. (Hint: try making them smaller.)
Chapter 23 ¦ Adding FrontPage Web Components 577

Photo Gallery
The Photo Gallery Web component generates a JavaScript element that allows you to
display photos in tables. With your cursor where you want to place the Photo Gallery,
choose Insert _ Web Component, and click Photo Gallery in the list of components. Choose
one of the photo gallery options (except the slideshow) that displays on the right side of the
Insert Web Component dialog box. When you click Finish, the Photo Gallery Properties
dialog box opens, allowing you to define your photo display.

Included content
The Included Content category of Web components has five helpful ways to embed content
from your Web site in a Web page. The options vary from embedding the content of one
page in a second page, to embedding a picture based on a schedule. All the Included Content
Web components are tools for automating site content. For example, you can use the Page
option to create an “updateable” page that is embedded in other pages. Every time you
update the embedded page, the content changes on all pages in which this page is embedded.

Creating Substitutions
Suppose you are responsible for a 28,000-page Web site, and the slogan of your corporation
is on each of those pages. When you show up for work on Monday morning, you learn that
the company motto has changed, and must be substituted on every page where it appears.
Yes, one option is to search and replace, but that™s tedious, and requires that the text being
searched for is a perfect match. The other option is to create a parameter called motto, and
then simply change the definition of that parameter when you need to update your Web site.
You substitute with author, description, modified by, and page URL.
To add parameters, select Tools _ Web Settings, and click the Parameters tab. This tab
displays your existing parameters, as shown in Figure 23-13.

Figure 23-13 Substitution fields are used to instantly update the content of an entire site.
They are defined in the Parameters tab of the Web Settings dialog box.
Part III ¦ Beyond Mastery: Initiative within Office

You can add a new parameter by clicking the Add button, entering a name and value for
your parameter, and then clicking OK, as shown in Figure 23-14.

Figure 23-14 Creating your own substitution field in the Add Name and Value dialog box

Use the Modify button in the Parameter tab of the Web Settings dialog box to change a
parameter value, or the Delete button to delete the parameter. After you define parameter
names and values, click OK in the FrontPage Web Settings dialog box.
With your own parameters defined, you can insert them into any Web page. Just set your
insertion point, and select Insert _ Web Component _ Substitution. Pull down the Substi-
tute With list and select a field. When you modify the Substitution parameter value, your
Web pages are updated with the new value. Each time visitors view your Web page or
refresh their browser window, they see the latest value for a Substitution component.

Sometimes substitution values aren™t automatically changed. When that happens, you can force
FrontPage to update substitution values by choosing Tools _ Recalculate Hyperlinks.

Including pages
The Include Page component enables you to insert the contents of another file into your Web
If you want a page embedded in the top, bottom, right, or left of your page, use shared
borders. Creating a bottom shared border usually is easier than creating a new page to
function as a footer.
The Include Page component is a useful way to include elements that are common to many
pages (see Figure 23-15), such as a chunk of page data that you want to embed in several
different pages. By including these elements in a separate Web page, you can edit the
included page, and the changes will be reflected on all pages.

Figure 23-15 Including a page in a page
Chapter 23 ¦ Adding FrontPage Web Components 579

To edit the content of an included page, double-click the included page area. This will open
the included page in a new Page view.

Embedding a page based on schedule or a picture based on
With the Page Based on Schedule and Picture Based on Schedule Web Components, you
never again have to worry about your Web page advertising a fantastic offer that expires on
June 1, 2002. Scheduled Pictures and Scheduled Include Pages can be defined so that they
vanish on a set date, or are replaced by new content.
To add a page or picture based on a schedule, position the cursor on the Web page where
you want the page or image to appear. Select Insert _ Web Component _ Included Con-
tent. From the Included Content choices, click Page Based on Schedule or Picture Based on
Schedule. Then click Finish.
In the Scheduled Picture Properties or Scheduled Include Page Properties dialog box,
indicate the image or page to include, the starting and ending times to display the picture or
page, and, optionally, a picture or page to display before and after the scheduled time frame.
Figure 23-16 defines a picture that displayed until March 6, 2003.

Figure 23-16 Defining a starting (and ending) date for an included picture

If the current time is within the range of the scheduled image time, the selected picture or
page displays in Editor. If not, FrontPage displays an error dialog box notifying you that
you™ve defined an invalid date range.
Part III ¦ Beyond Mastery: Initiative within Office

Including a page banner
Page banners display the page title either as text, or (if you have a theme assigned), as a
graphic. To embed the page title, position the cursor on the Web page where you want the
title to appear and select Insert _ Web Component _ Included Content. From the Included
Content choices, click Page Banner, and then click Finish. The Page Banner Properties
dialog box appears, as shown in Figure 23-17.

Figure 23-17 A page banner being defined. A page banners will display as a picture only
if a theme is assigned to a page.

In the Page Banner Properties dialog box, choose either Text or Picture and click OK. You
can format the text of a banner using the regular text formatting tools in Page view. If you
change a page title, the content of the banner will change.

If you place a Page Banner component in a shared border, the component will reflect the title of
the page in which the border is embedded. This is a quick and easy way to add the page title to
every page in your Web.

Link bars
Link Bar components provide a variety of generated links on a page. This component can
be accessed two ways, either through the Insert _ Web Component menu, or through the
Insert _ Navigation menu. Link bars can be based on a defined set of pages, or they can be
generated by a site™s navigational structure.

Inserting a table of contents
FrontPage provides options for generating a table of contents (TOC). You can create a table
based on the entire Web site, or based only on a selected category of Web pages.
A table of contents can be an effective tool for embedding automatically updated site maps
in a page. Figure 23-18 shows a site using a TOC as a navigation tool.
Chapter 23 ¦ Adding FrontPage Web Components 581

Figure 23-18: This site map, generated by a table of contents, automatically updates
whenever the site is updated.

To add a TOC, position the cursor on the Web page and select Insert _ Web Component _
Table of Contents. From the Included Content choices, click For This Web Site, or click
Based on Web Category. Click Finish.

Assigning categories
If you choose Based on Page Category, the Categories Properties dialog box appears, as
shown in Figure 23-19. Categories can be assigned to a page by right-clicking, choosing
Page Properties from the context menu, and selecting one or more categories in the
Workgroups tab of the Page Properties dialog box. These assigned categories then govern
which pages are included in a table of contents that is restricted to only certain categories.
Part III ¦ Beyond Mastery: Initiative within Office

Figure 23-19: The Categories Properties dialog box

Table of contents options
Whichever method you use for selecting pages to include in a table of contents, you can
define what information to display when the TOC is generated. Depending on the type of
TOC you are creating, different dialog boxes will allow you to define whether to include
the date a file was last modified, and/or comments added to the file in the generated table
of contents.
If you generate a TOC for an entire site, the Table of Contents Properties dialog box allows
you to define a starting point for your TOC. The Page URL for Starting Point of Table box
in the Table of Contents dialog box defines only the page that will serve as a title for your
TOC. And the Heading Font Size drop-down list defines the size of the title, based on the
defined heading styles for your site or page.

Using the Table of Contents template
The quickest way to get a TOC is to use the provided page template to create a separate
Table of Contents page. To use this template, select File _ New, and click Page Templates
in the Task pane (that opens when you choose New from the menu).
Clicking Page Templates in the Task Pane opens the Page Templates dialog box. In the
General tab of the Page Templates dialog box, click the Table of Contents template, as
shown in Figure 23-20, and then click OK. This opens a new page.
Chapter 23 ¦ Adding FrontPage Web Components 583

Figure 23-20: Need a quick TOC? Use the template.

Of course, you are free to change the introductory text provided by the template. If you want
to modify the table of contents generated by the template, double-click the TOC to open the
Table of Contents Properties dialog box.

Top 10 lists
Top 10 lists work for pages saved to Webs on servers with FrontPage 2003 extensions. They
generate lists based on data collected by the server when visitors come to your site.
Top 10 lists are a way of sharing with your visitors information similar to what you see
internally when you view usage reports. To see a usage report, choose View _ Reports _
Usage, and select one of the usage reports listed. For example, the information shown in the
Browsers usage report tells you how many people visited your site and which browsers they
used. That same information can be shared with visitors in a Top 10 browsers list. Overall,
this feature is just an easy and automated way to share statistical information about your site
with visitors. The available Top 10 lists are as follows:
. Visited pages
. Referring domains
. Referring URLs
. Search strings
. Visiting users
. Operating systems

<< . .

. 49
( : 51)

. . >>