<<

. 14
( 14)



components, but will be able to view spreadsheet data.
Both in their use and their function, the three Spreadsheets and Charts components fall more in the
category of Microsoft Office application integration.


Inserting Components
You can add a component to your Web page in two ways:
. Insert the component directly into your Web page (the primary method).
. Use one of the many Web page templates and wizards that come with preconfigured
Web components (secondary method).
Page templates that generate components include:
. Confirmation Form: Generates a confirmation form for an input form, using the
Confirmation Field Component (found in the Advanced Components submenu).
. Table of Contents: Generates a page with a table of contents.
In addition, many page templates include comments. And most Web templates include many
components.
To insert a component in an existing Web page, first position the cursor where you want the
component to appear. Select Insert _ Web Component, or click the Web Component icon in
the toolbar. The Insert Web Component submenu is a dialog box, as shown in Figure 23-3.
Chapter 23 ¦ Adding FrontPage Web Components 565




Figure 23-3 Choosing Web Component from the Insert menu brings up this dialog box.

After you select a component, additional options may appear, enabling you to customize the
component™s properties. After you add a component to your Web page, you can edit it by
double-clicking it. Alternatively, you can right-click the component and select (Component™s
Name) Properties from the pop-up menu.


Using Components that Aren™t “Components”
In addition to the components listed in the Insert Web Components submenu, the main Insert
menu includes a few miscellaneous but highly useful objects that work like components,
such as Date and Time (which works like a time stamp), and Comments. These features are
explored in this chapter, even though they aren™t listed in the Component submenu.

Using Date and Time
The Date and Time and the Comments elements could have been put in the Components
submenu, but they weren™t. Nevertheless, they work like components. When you insert a
Date and Time code, you create a time stamp WebBot code in HTML. Comments also
generate WebBot coding.
The Date and Time component displays the modification time and date of the Web page on
which it resides. In other words, you can tell visitors exactly when the page was last
changed, so that they can quickly decide whether the material at your Web site is current
enough for their needs.
Including a last-modified date on your Web pages is a courtesy to visitors because it helps
them judge whether the information on your site is up-to-date. Of course, if currency isn™t
that important to your Web page, you certainly aren™t required to have a time stamp on it.
Part III ¦ Beyond Mastery: Initiative within Office
566

Every time you save your Web pages, the time stamp (Date and Time code) updates. So, the
only “revising” reflected by your time stamp may simply be that you actively maintain the
page. Manually updating the modification date by resaving a page is one way to indicate that
you are maintaining the page, even if the content has not changed recently.
To add a Date and Time code, position the cursor at the location where you want the
component to appear. Select Insert _ Date and Time. The Date and Time properties dialog
box appears, as shown in Figure 23-4.




Figure 23-4 Adding a time stamp to a page

The Date this Page Was Last Edited radio button revises the displayed date when you update
the page. The Date this Page Was Last Automatically Updated radio button changes the Date
and Time code if the page was changed by the action of a Web component or other applet, or
if an embedded page changed.

Still don™t get the difference between the Date this page was last edited button and the Date
Note
this page was last automatically updated button? Here it is in a nutshell: When you select the
Date this page was last edited button, merely opening the page in the Page view will update
the time stamp. You don™t even have to change the page ” just open and close it. When you
select the Date this page was last automatically updated button, the time stamp will also
update every time you open the page. However, and in addition, if you include content (such
as a table of contents or another HTML page) and you change the embedded content, the time
stamp updates then as well.

Use the Date Format drop-down menu to select from a variety of date formats. Use the Time
Format drop-down menu to select from a list of time formats.
After you make your selections, click OK to insert the Date and Time code in your page. The
time stamp appears just as it will look in the Web page. You can also format the date text.
When you edit in Page view, you can distinguish the date and time data from regular text
because its code has an icon over it rather than an insertion cursor, as shown in Figure 23-5.
Chapter 23 ¦ Adding FrontPage Web Components 567




Figure 23-5 The Web Component icon is your clue that this date is not text, but a
generated component.


Note
The Date and Time component displays only a date. If you want text like “Date page was last
updated,” you have to add that yourself.


Adding comments
Comments are just little pieces of information you add to a Web page for your personal
purposes. They do not directly show up on the page, but they can remind you about certain
page development issues or help you keep track of changes. In short, anything can be a
comment, so how you use the feature is up to you.
To add a comment, position the cursor where you want the comment to appear in the Web
page, and then select Insert _ Comment. The dialog box allows you to enter the text of your
comment.
As you can see in Figure 23-6, comments show up in FrontPage in the visited link color,
which is purple by default (in fact, the actual name of this component is PurpleText, as
you will notice if you look at the HTML). Comment text doesn™t appear when the page is
viewed by a Web browser, because the entire component is enclosed in a standard HTML
comment tag.
Part III ¦ Beyond Mastery: Initiative within Office
568




Figure 23-6 Comments don™t show up in Web browsers.


The comment may not appear on the Web page, but it is still there in the HTML, viewable by
Caution
anyone who decides to view the HTML source code of the page. As a result, use of the Com-
ment component to record your trade secrets or the combination of your safety deposit box is,
as they say, discouraged.

The Comment component is used in almost every template, to instruct you about the
purpose of the template or to teach you how to customize it.


Exploring Web Components
This section briefly examines the operation of all the components that come packaged with
FrontPage 2003.

Dynamic effects
The Dynamic Effects option in the Insert Web Component dialog box offers two options for
presenting active page elements: interactive buttons and scrolling text marquees, and banner
ads. These elements (text and/or images) are active, as opposed to static text and images that
just sit there.
Chapter 23 ¦ Adding FrontPage Web Components 569

Other options for dynamic objects include Dynamic HTML formatting, which is explored in
Chapter 13 of Wiley™s FrontPage Bible. Dynamic HTML (DHTML) effects rely on a
browser™s ability to accurately interpret the DHTML specifications that FrontPage uses to
generate animation and interactivity. Some of these effects are not supported by Netscape
Navigator 4.7.
As opposed to DHTML effects, the dynamic effects Web components rely on HTML and
Java to generate small programs right in your Web site to produce interactivity. Therefore,
these Web components are compatible with Netscape 4.7. And, they do not require
FrontPage Server Extensions, or even a Web server to work.

Interactive buttons
Interactive buttons display an effect when visitors to your page pass their cursor over the
button. Interactive buttons provide a way to make boring buttons more interesting. Effects
range from a glow to color changes. You can even define images and sounds to display for
the button, to provide a more interactive look and feel to your pages.
To add an Interactive button, select Insert _ Web Component _ Interactive Button, and
then click Finish. The Interactive Buttons dialog box appears, as shown in Figure 23-7.




Figure 23-7 Defining a hover button
Part III ¦ Beyond Mastery: Initiative within Office
570

You can make the following selections in the Hover Button dialog box:
. Button Text: The text that is displayed on the button™s face. You can change the
font, color, style, and size by clicking the Font button.
. Link To: The page or file that is opened when the button is clicked by visitors. Enter
the URL directly in the text box, or click the Browse button to select a page.
. Button Color: On the Text tab, you can change the button color. You can configure
the button™s “static” color, used when the button is not in use. Notice you have a
hovered color and a pressed color.
. Image: On the Image tab, you can see a preview of the button, and you can adjust
the button™s image. For example, you can change the width and height of the button,
create buttons with solid backgrounds, and create buttons with transparency.

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.

Note
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
572




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
_borders).
. 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:
www.microsoft.com/TechNet/sharepoint/admindoc/owsi06.htm
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
574




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


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
appears.
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
576




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
www.easycounter.com/.
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
578

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
Note
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
page.
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
schedule
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
580


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
Tip
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
582




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
. Browser
Part III ¦ Beyond Mastery: Initiative within Office
584

All lists are embedded in a page the same way:
1. Select Insert _ Web Component, and click Top 10 List.
2. Choose one of the available lists.
3. Click Finish to display the Top 10 List Properties dialog box, shown in Figure 23-21.




Figure 23-21: Top 10 lists can be displayed in a variety of list formats.

4. You can edit the default list title by entering new text in the Title Text area of the
dialog box.
5. Select the Include date usage processing was last run check box to let visitors know
when the list was last updated.
6. Choose one of the four formats for displaying your list, and click OK.
Top 10 lists must be previewed in a browser (not in Preview tab) to see actual content.

As of this writing, the latest version of FrontPage 2003 does not allow you to apply local (inline)
Note
formatting to the text generated by Top 10 lists. To format the fonts in these lists, you can
instead use page or external style settings.

Here™s one way to change the formatting of a Top 10 list: right-click a page and choose Page
Properties to open the Page Properties dialog box. Click the Style button and choose Format
_ Font. Define a font, and then click OK. This will define a new default font style for your
page, which will be applied to your Top 10 list.
Top 10 lists require servers with the SharePoint Extensions.
Chapter 23 ¦ Adding FrontPage Web Components 585


List view and document library components
List views and document libraries are interactive ways for visitors to a site to upload
documents, and contribute to online discussions. These components require that a site is
published to a server with SharePoint Extension files.
List views and document libraries are a central part of the SharePoint Office Server shipped
with the current release of Microsoft Office. This server and its built-in features are mainly
designed to quickly generate an out-of-the-box intranet portal for an organization.

Commercial and additional components
FrontPage offers a number of embedded commercial content options. These options are
generally self-explanatory content that is provided by other companies (or Microsoft). When
you embed this content in your page, you advertise their product, provide a link to their site,
and facilitate their sales. In return, you get their content.
You can purchase additional Web components from third-party vendors, including J-Bots,
which creates Java-based interactive components for Web sites, and FrontLook, the maker of
additional themes and other FrontPage enhancements. If you do incorporate such third-party
add-ons, they attach themselves to the Component submenu and appear when you select
Insert _ Web Component _ Additional Components.

Creating a page with Web components
In the following tutorial, you will create a Web page with a scrolling text marquee, hover
buttons, a hit counter, and a Date and Time stamp.
1. Create a new FrontPage Web from the Personal Web template (select File _ New _
Page or Web. Click Web Templates in the Task Pane, and then double-click Personal
Web).
2. Open the file Index.htm in Page view.
3. Click at the end of the first line of text (“Welcome to My Web Site”) and press Enter
to create a new line.
4. Select Insert _ Web Component _ Dynamic Effects _ Marquee, and click Finish.
5. Type Welcome to the ultimate Web site in the Text field and click OK in the
dialog box.
6. Place your cursor at the end of the second paragraph and press Enter to create
another blank line. Select Insert _ Web Component _ Dynamic Effects _ Hover
Button.
7. Type Photos in the Button Text field and photo.htm in the Link To field (or use the
Browse button to find the file photo.htm). Click OK. Create a few additional
hover buttons linked to the Interests and Favorite pages.
8. Press Ctrl+End to move to the end of the page. Select Insert _ Web Component _
Hit Counter, and click Finish.
Part III ¦ Beyond Mastery: Initiative within Office
586

9. In the Hit Counter Properties dialog box, click the radio button next to a hit counter
that has a style you like. Click OK.
10. Note that the Web template generates a Date and Time field on the home page (at the
bottom of the page). You can identify the date as a Web component because when
you hover over it, an icon appears. Double-click the date to open the Date and Time
Properties dialog box, and add a Time format from the drop-down menu. Click OK.

Advanced Controls
The Insert Web Component dialog box contains the Advanced Controls options that allow
you to insert certain controls that you can use in your Web site. For example, you can insert
an HTML control that will not be modified by FrontPage, a Java Applet, a plug-in, or even a
Flash movie. When you choose to insert these items, most ask you for the source of the
control, such as the source Java Applet you want to use.
If you choose to insert an ActiveX control, you™ll see a dialog box where you select the kind
of control you want to insert. For example, in Figure 23-22, you™ll notice an
ActiveMovieControl object. You can now right-click the inserted object and click Properties
to determine playback functions, audio volume, and other movie options that allow users to
view movies found on the site.




Figure 23-22 You can insert movie controls and a variety of multi-media content controls
into your FrontPage Web.
Chapter 23 ¦ Adding FrontPage Web Components 587


Summary
Much of the value in using FrontPage comes from its impressive set of Web components.
Unfortunately, most of these components are rather inelegantly packed into a single menu
option, and may thus be hard to find. A good percentage of the best features in FrontPage
are found by choosing Insert _ Web Component in the FrontPage menu.
Web components are mini-programs, and they utilize different scripting languages to do
their jobs. Therefore, some components work in all development environments, while others
are browser- or server-specific. FrontPage 2003 includes a few components, like Top 10
Lists, that require that your site be published to a site with SharePoint Server Extensions.
Web components can be used to make sites interactive. Search engines react to user input to
help visitors find pages in your site. Hit counters react to each visit by counting visitors.
Other components are used to automate site content. The Table of Contents component
generates a table of contents automatically. Included pages can be used to automatically
update many pages.
Finally, some components provide site content, like those that link to MSNBC, MSN, or
bCentral sites for news, sports, stock quotes, and Internet search engines.
¦ ¦ ¦
24 CHAPTER



Advanced
Publisher
Techniques . . . .

In This Chapter

Adding special effects
with Publisher

T his chapter takes a look at some advanced techniques that
Inserting linked and
can add extra pizzazz to your creations and shows you how
embedded objects
you can use Publisher to design Web pages. You™ll also learn
about printing: both printing to your personal printer and
Mail merging
preparing your publication for printing by a print shop.
in Publisher

Adding Special Effects Designing Web sites

Why settle for ordinary text in ordinary text frames, when you Using the Design
can dress up your text in a number of ways? With its border art, Gallery
drop caps, and WordArt tools, Publisher can give your
publication the added oomph it needs to catch and hold your Saving and printing
reader™s attention.
. . . .
BorderArt
To add an ordinary border to a text box or picture frame in
Publisher, click the Line/Border Style button on the Formatting
toolbar, click More Lines, choose a size and color of line and
which sides of the frame to apply it to in the Format dialog box
(under the Colors and Lines tab), and then click OK.

If you check the “Draw border inside frame” box, the entire
border, no matter how wide, is drawn inside the edges of the
Note
frame. If you don™t check the box, the border overlaps the edges
of the frame.
Part III ¦ Beyond Mastery: Initiative within Office
590

But while you™re in the Colors and Lines tab of the Format dialog box, you™ll see a button
labeled BorderArt. Click it, and the border possibilities suddenly expand exponentially (see
Figure 24-1).




Figure 24-1: You™re not limited to ordinary lines when you create borders in Publisher.

Publisher comes with a number of decorative borders, which you can peruse and choose
from in the Available Borders area of this dialog box ” literally everything from apples to
zigzags.
Each border has a default size; if you think the border is too thick or too thin, though, you
can change it by unchecking the “Always apply at default size” box and then returning to the
Colors and Lines tab to set the border width as usual. You can also modify the color under
the Colors and Lines tab, just like you can an ordinary line border.
The BorderArt dialog box also enables you to choose whether or not to deform the
individual pictures that make up some borders (such as the apples in the figure) to make a
more continuous border.
Figure 24-2 shows how the appropriate border can dress up your text.
Chapter 24 ¦ Advanced Publisher Techniques 591




Figure 24-2: “Please Be My Valentine!” looks a lot more romantic with a few shiny red
hearts around the edges.

You™re not limited to the available borders; you can also create your own border using any
graphic image. Click Create Custom in the BorderArt dialog box and then choose a picture
file from your computer or from the Clip Organizer. Publisher converts it into a border,
which you can then name what you wish. That border continues to appear in your list of
available borders until you choose it and click Delete.

A picture has to be pretty simple to be made into a border. A digital photograph of a winter
Note
scene, for instance, would be too complex. A simple line drawing of a snow-covered tree,
however, would not.


Drop caps
A drop cap is a large initial letter in a piece of text, reflecting the style of the illuminated
manuscripts of the Middle Ages, when books often began with large, lavishly decorated
initial letters.
To apply a drop cap to the beginning of a particular paragraph, click anywhere in that
paragraph, then choose Format _ Drop Cap. This opens the dialog box shown in Figure 24-3.
Part III ¦ Beyond Mastery: Initiative within Office
592




Figure 24-3: Create a fancy initial letter for a paragraph with the Drop Cap dialog box.

As with borders, Publisher has several available styles of drop caps ready and waiting for
you. Click the one you like and then click OK. The drop cap is added to your paragraph (see
Figure 24-4).




Figure 24-4: Drop caps are an ornamental touch that can bring your text alive.
Chapter 24 ¦ Advanced Publisher Techniques 593

If you don™t see a drop cap you like in the Drop Cap dialog box, click the Custom Drop Cap
tab and you can design your own, using the tools shown in Figure 24-5.




Figure 24-5: Don™t like Publisher™s available Drop Caps? Then design your own!

This dialog box is divided into two sections, one in which you choose the appearance of the
initial letter and one in which you determine its position and size.
In the “Select letter position and size” area, you can choose to make your drop cap drop into
the paragraph until its top is even with the top of the first line of text (as in Figure 24-4) or
have it rise above the paragraph so that the bottom of the drop cap is level with the bottom
of the first line of text. Or you can compromise, and have it rise a specified number of lines
above the paragraph.
You can also set the size of the drop cap, in lines, and how many letters you want in the drop
cap style ” typically just one, but some of the preset drop caps include two letters, and you
might want to set the entire first word in drop-cap style.)
In the “Select letter appearance” area, you choose a font for the drop cap, a style (regular,
italic, bold, or bold italic), and a color. If you wish, you can automatically use the font, style,
and color of the rest of the paragraph.
When you™re happy with your drop cap, click OK.
Part III ¦ Beyond Mastery: Initiative within Office
594


WordArt
Another form of fancy text is WordArt, which applies special formatting to text ” shapes,
shadows, and so forth that you can™t apply through the ordinary formatting tools.
To create a WordArt object, follow these steps:
1. Click the Insert WordArt button on the Object toolbar to open the WordArt Gallery
shown in Figure 24-6.




Figure 24-6: WordArt Gallery offers you a lot of fancy formatting to choose from.

2. Choose the WordArt style you™d like to use.
3. Type the text that you want to apply WordArt formatting to in the Text window in
the Edit WordArt Text dialog box that now appears. Press Return to add a second
line of text and any additional lines of text after that.
4. Choose a font and font size from their respective list boxes, and apply bold or italic
style, if you wish.
5. Click OK. WordArt applies the style you chose to the text you entered (see
Figure 24-7).
Chapter 24 ¦ Advanced Publisher Techniques 595




Figure 24-7: Here™s the text rendered in the WordArt style that was chosen. Notice
the WordArt toolbar that opened automatically.

Editing WordArt is easy with the WordArt toolbar, which opens automatically whenever you
create a WordArt object, and with other tools Publisher makes available. You can do all the
following:
. Resize it: Use the handles as you would on any other object to adjust its height and
width. Because WordArt is really a graphic, not text, the shape of the letters deforms
along with the shape of the frame.
. Reshape it: Many WordArt styles, including the one in Figure 24-7, include a small
yellow diamond or two somewhere inside them. Clicking and dragging this diamond
adjusts the shape of the object. In Figure 24-7, clicking and dragging the diamond
adjusts the thickness of the central part of the WordArt object in relation to the
outside edges. You can also change the shape of the WordArt object by clicking the
WordArt Shape button on the WordArt toolbar and choosing the shape you want to
apply from the menu provided.
. Change shadow style and 3D style: Whenever you™re working with a 3D object in
Publisher, you can apply a shadow style or 3D style to it by clicking the Shadow
Style and 3D Style buttons on the Formatting toolbar. Choose the style you want
from those offered, and click to apply, or click Shadow Settings or 3D Settings to
create your own shadow or 3D style.
Part III ¦ Beyond Mastery: Initiative within Office
596

. Edit text: Click the Edit Text button on the WordArt toolbar to reopen the Edit
WordArt Text dialog box and change the text, or its font, style, or size.
. Change the WordArt style: Click the WordArt Gallery button on the WordArt
toolbar to reopen the WordArt Gallery; click any of the styles offered to change the
style of the currently selected WordArt object to the new style.
. Format the WordArt object: Click the Format WordArt button on the WordArt
toolbar (or choose Format _ WordArt) to open the Format WordArt dialog box,
which includes tabs very similar to the Format dialog boxes for text boxes and
graphics. You can apply borders, change the fill of the object, and make other
changes using this dialog box.
. Change text wrapping: Click the Text Wrapping button on the WordArt toolbar to
change the way text in a text box wraps around the WordArt object.
. Make all letters the same height: Click the WordArt Same Letter Heights button
on the WordArt toolbar to make both uppercase and lowercase letters in your
WordArt object the same height. This is an interesting effect that™s more noticeable
in some fonts (those with a greater difference in height between uppercase and
lowercase letters) than others.
. Change the text orientation to vertical: Click the WordArt Vertical Text button on
the WordArt toolbar to make the text in the WordArt object run up and down instead
of side to side. Click it again to return the text orientation to horizontal.
. Change the alignment: The WordArt Alignment button on the WordArt toolbar
enables you to set alignment to center, left, right, stretch justify (which justifies
text by horizontally stretching the letters), letter justify (which justifies text by
adding spaces between letters), and word justify (which justifies text by adding
spaces between words).
. Change the spacing: Click the WordArt Character Spacing button on the WordArt
toolbar to adjust the spacing between characters to anything from very loose to very
tight. You can also choose to Kern Character Pairs, which moves certain characters
closer together to improve their appearance.
You can edit your WordArt at any time by double-clicking the frame to bring up the Edit
WordArt Text dialog box and the WordArt toolbar.


Using Linked and Embedded Objects
Sometimes you may want to insert an object into a Publisher document that you can™t create
with Publisher™s own tools. An Excel spreadsheet is a good example. Another is an image
that you may have created using a specialized graphics program. You can insert these objects
and continue to edit them if the program they were created in supports linking and
embedding. First, a couple of definitions:
. A linked object is one that appears in your publication but isn™t really part of it: It™s
stored somewhere else. All that™s really included in your publication is the object™s
Chapter 24 ¦ Advanced Publisher Techniques 597

name and location; when you display or print the page that includes the linked
object, Publisher fetches the object from wherever it is and dutifully includes it. One
advantage of linking over embedding is that any changes made to the object in the
original program (that is, Excel or Word) are automatically reflected in the Publisher
publication to which the object is linked.
. An embedded object is created and edited with another program, but all the data for
it is contained within your publication. Whereas a linked object has little effect on
the amount of disk space your publication takes up, an embedded object may have a
much greater effect.

Embedding a new object
To insert a new embedded object into your publication, follow these steps:
1. Choose Insert _ Object from the menu bar. This opens the dialog box shown in
Figure 24-8.




Figure 24-8: You can insert any of the objects listed here into your publication. The
list that appears depends on what software is installed on your computer.
Part III ¦ Beyond Mastery: Initiative within Office
598

2. Choose the type of object you™d like to embed from the Object Type list. If you want
to simply display an icon representing the object, check Display as Icon; otherwise,
the entire object is displayed.
3. Check the Create New box.
4. Click OK. In Figure 24-9, you™ll see an embedded Microsoft Excel chart. Notice that
Publisher™s toolbars have vanished, replaced by the Excel toolbars.




Figure 24-9: When you create a new embedded object, Publisher™s controls are
sometimes replaced by controls specific to that object.

When you™ve finished creating your embedded object, click anywhere outside the object™s
frame. Publisher™s controls reappear, and you can continue creating your publication as
normal. Whenever you want to edit the embedded object, just double-click it and its controls
reappear.
Chapter 24 ¦ Advanced Publisher Techniques 599


Embedding an existing object
To insert an object that already exists as a file created by another program, follow these
steps:
1. Choose Insert _ Object.
2. This time, click Create from File.
3. Enter the path to the file, or click Browse to browse for it on your computer.
4. If you want the object to be linked, check Link; otherwise the object is embedded.
5. Click OK. The file you selected is inserted into your publication (see Figure 24-10).




Figure 24-10: This ad was created in another program, then inserted into the
Publisher publication as a linked object. Any changes made to this image using the
program in which it was created are now automatically reflected in this publication.
Part III ¦ Beyond Mastery: Initiative within Office
600


Mail and Catalog Merging in Publisher
Another useful tool in Publisher is mail and catalog merge capability. You can create a
database in Publisher specifically for that purpose, or you can use a database you created in
another program. Publisher provides a helpful wizard to make the process easy.To open the
Mail and Catalog Merge Wizard, choose Tools _ Mail and Catalog Merge _ Mail and
Catalog Merge Wizard. This opens the task pane shown in Figure 24-11.




Figure 24-11: Use this wizard to set up mail and catalog merging in Publisher.You™ll look
at mail merging first; then you will learn how catalog merging, new in Publisher 2003,
differs a bit.

The first step is to select a data source. You can use an existing list, create a list by selecting
from among your Outlook contacts, or type in an entirely new list.
Chapter 24 ¦ Advanced Publisher Techniques 601


Using an existing list or Outlook contacts
If you choose to use an existing list, you™ll be asked to locate the list on your computer (it
must be either a database file or in table format).
When you™ve located it, you™ll see the Mail Merge Recipients dialog box shown in Figure
24-12. This lists all the fields you have set up in the database, and lets you choose which
ones to include in your mail merge, sort the list by any of the fields just by clicking the
appropriate column heads, or narrow down the lists by clicking the arrow beside the column
name and filtering the information. (You can choose to view only entries that have blank
spaces in that column, only entries that have nonblank spaces in that column, or look for
other criteria you provide by choosing the Advanced option. For instance, you could filter
the database so it merges only the people whose first names are John or whose postal codes
exceed a certain number.)
If you choose to select from Outlook contacts, you™ll see them displayed in the same Mail
Merge Recipients dialog box.




Figure 24-12: Sort and filter the entries you want included in your mail merge using this
dialog box.
Part III ¦ Beyond Mastery: Initiative within Office
602


Creating a new list
To create a new list, choose “Type a new list” from the “Select data source” area of the Mail
and Catalog Merge task pane and then click the Create link under “Type a new list.” This
opens the New Address List dialog box shown in Figure 24-13.




Figure 24-13: Create a new address list for mail merging using this dialog box.

By default, the dialog box includes fields for the most common fields used in address lists. If
these fields suit your purpose, just type the information into the blanks. Click New Entry to
create a new entry.
When you™ve finished, click Close and save your database using the Save Address List
dialog box that opens.
You can locate a specific entry using the View Entry Number controls, or conduct a search
for a specific entry by clicking Find Entry.
If the fields included by default don™t suit you, you can customize fields by clicking
Customize. You can add new fields, delete fields, or rename fields.
After you™ve created a database, you can edit it at any time by choosing Tools _ Mail and
Catalog Merge _ Edit Address List.
Chapter 24 ¦ Advanced Publisher Techniques 603


Create the publication
The next step in the Mail and Catalog Merge Wizard is to create your publication, if you
haven™t already done so.
To add recipient information, click where you want the information to appear and then click
the items you want to add from the list provided. These include an address block (the
address of the recipient, which would typically appear at the top of a business letter), a
greeting line (Dear, To, and so forth), both of which you can customize in the dialog boxes
that open.
To insert a single field, choose it from the scroll box provided. You have the option to insert
any field as either text or a picture. If it™s inserted as text, you can edit its contents directly in
Publisher after its merged; if it™s inserted as a picture, you can™t, but you can resize it,
recolor it, and do all the other things you can do to a graphic in Publisher.

Note You must have a text box or table selected in your publication before you can insert fields. The
inserted field appears in the selected text box or table.

Clicking Address fields opens the Insert Address Field dialog box shown in Figure 24-14.
This lists standard address field, which you can then match to the fields in the database
you™re using by clicking Match Fields.




Figure 24-14: Use this dialog box to insert the information from the list you created or
opened in the previous step.
Part III ¦ Beyond Mastery: Initiative within Office
604

Fields appear in your publication as the name of the field surrounded by double brackets on
each side (see Figure 24-15).




Figure 24-15: Mail merging fields look like this once inserted into your publication. They™ll
be replaced by data from the list once you run the mail merge.


Preview your publication
The next step the wizard offers is a preview of your publication. Publisher inserts the data
from the database into your publication one entry at a time and lets you page through the
results forward and backward to make sure that including data hasn™t caused any unexpected
problems within your publication, such as inserting a blank line or pushing some text out of
sight in a text box.
You can click “Find a recipient” to find a particular data entry, you can edit the Recipient list
further, or you can choose to exclude whichever recipient you™re currently viewing.
When you™re happy with the way things look (and you can always return to the previous
“Create the publication” step of the wizard to make changes to the publication itself), click
“Complete the merge” to move on to the wizard™s final step.

Merging
Publisher replaces the field codes with data from the database file and offers you the
opportunity to print. Clicking the Print link opens the Print Merge dialog box, which varies
slightly from the regular Print dialog box discussed later in this chapter; it asks you which
entries you want to print, if you want to skip over rows on a sheet of labels, and if you want
to print lines that contain empty fields.
Chapter 24 ¦ Advanced Publisher Techniques 605


Tip It™s almost always a good idea to avoid printing lines that contain empty fields, because other-
wise they™ll create awkward gaps in your printed document.

You can also click the Test button to print the results of merging a single entry from the
database, to make sure everything looks all right before you commit to what may be a very
large print job if you™ve got a long list of recipients.

Merging a Catalog
The Catalog Merge option is designed to allow you to create a template for a merged
publication that contains multiple records, such as a catalog, directory, or photo album.
Your first task in the wizard is still to select a data source; a Browse link lets you search for
and select the one you want to use.
Next, you choose the fields you want from a list, which looks a little different from the Mail
Merge version (see Figure 24-16). You can still insert fields into a text box or table that you
create on your page; however, if you have fields you want to repeat for each record (in a
catalog, for instance, it might be a phone number or e-mail address you want to appear with
every item in the catalog), you can insert those fields into the special Catalog Merge Area
provided, and then move them around and format them as usual.
After that, you preview and merge just as you did with Mail Merge.




Figure 24-16: The Catalog Merge Wizard creates this special Catalog Merge Area into
which you can insert fields that should repeat for each record in your data source.
Part III ¦ Beyond Mastery: Initiative within Office
606


Designing Web Sites with Publisher
You can turn any publication you™ve created with Publisher into a Web page by choosing
File _ Convert to Web Publication. But you can also use Publisher to create a Web site right
off the bat.
The New Publication task pane includes a number of designs for Web sites, using the same
design schemes as are used for other publication types (see Figure 24-17). Alternatively, you
can create some other type of publication using one of the Publication Gallery designs (say,
a brochure) and convert it into a Web site by clicking Convert to Web publication on the
options task pane that opens whenever you create a new publication from one of Publisher™s
designs (see Figure 24-18).




Figure 24-17: Publisher provides these designs for Web sites.
Chapter 24 ¦ Advanced Publisher Techniques 607




Figure 24-18: You can convert any type of Publisher design into a Web site by clicking
the Convert to Web publication link on the Options task pane.

After you™ve created a Web site, you™re offered several options (see Figure 24-19) in the task
pane. You can choose from several types of navigation bars.
Part III ¦ Beyond Mastery: Initiative within Office
608




Figure 24-19: The Web Site Options task pane lets you add various elements to your
Web site automatically.

You can add to your Web site with additional pages. Click “Insert a page” at the bottom of
the task pane. Choose the type of page you want (from the drop-down list provided), and
then click More to refine the page further.
If you click “Add functionality,” you open another task pane where you can modify your site
with a variety of other predesignedpages by choosing what you want the additions to the site
to accomplish ” i.e., “Tell customers about my business,” “Tell customers how to contact
us,” “Sell products,” etc.

Creating a hotspot
A hotspot is a specific area within a Web page that a viewer can click to activate a hyperlink.
Hot spots are generally used in conjunction with graphics. To create a hotspot, click the Hot
Spot button on the toolbar, then draw the hotspot onto your Web page, just as you would any
other type of Publisher frame.
As soon as you do, the Insert Hyperlink dialog box pops up. It gives you four choices:
. Existing File or Web page: Enter the URL for an existing Web page in the Address
blank or browse for a file or Web site you want the hotspot to link to.
Chapter 24 ¦ Advanced Publisher Techniques 609

. Place in this Document: You can choose from First Page, Last Page, Next Page,
Previous Page, or a specific page.
. Create New Document: Provide the name and path for a new document for the
hotspot to link to, and Publisher creates it for you. You can edit it now or later.
. E-mail address: Type in the address you want the hotspot to link to. You can
provide a subject to be automatically appended to any e-mail sent using the link.
In Figure 24-20, the airplane in the image of an airport has been turned into a hotspot.




Figure 24-20: Creating a hotspot is as easy as creating any other frame in Publisher.
Pointing a the frame shows the hotspot™s corresponding URL.


Inserting hyperlinks
To insert an ordinary hyperlink, simply click the object you want the hyperlink to be
attached to ” or highlight the specific text. Then press Ctrl+K or choose Insert _
Hyperlink. The Insert Hyperlink dialog box opens; make your choice, enter the necessary
information, and click OK.
Part III ¦ Beyond Mastery: Initiative within Office
610


To remove a hyperlink, select it and press Ctrl+K or choose Insert _ Hyperlink ” just as you
Tip
did to insert it; then click the Remove Link button in the Edit Hyperlink dialog box.


Adding a form control
Form controls are objects that enable the viewer of your Web page to make choices and/or
enter data that you can later retrieve (you™ll have to talk to your Internet service provider or
network manager about how, exactly).
To add a form control, click the Form Control tool in the Object toolbar, choose the type of
form control you want to add, and draw a frame as you would for any other object. Publisher
can create five form controls (illustrated in Figure 24-21): a single-line text box, a text area,
a checkbox, an option button, and a list box.




Figure 24-21: Publisher can create these five form controls for your Web page.
Chapter 24 ¦ Advanced Publisher Techniques 611

Each can be edited by double-clicking it. You can set a variety of options, including how the
data contained in the form is labeled when it™s submitted to you and the default text that
appears.
The Form Control tool can also create a command button that you can define as either a
Submit button (which submits the data entered in the form controls) or a Reset button
(which erases everything and has the submitter start over.) When you create a command
button, you™re given options as to how data contained in forms is to be submitted to you: as
a file on your Web server you can retrieve, as an e-mail message, or via a program that™s
provided by your Internet service provider.

You may need to talk to your ISP or network manager to determine what settings to use with
Note
form controls.


Inserting an HTML code fragment
Sometimes you want to insert a specific piece of HTML code into your Web page. Publisher
lets you do that without having to open your Web page in a text editor. Simply click the
HTML Code Fragment button on the Object toolbar, draw a frame, and type your HTML
code into the dialog box that opens. Click OK when you™re done. The HTML code appears
just as typed within the frame in Publisher; when the Web page is viewed in a browser, the
specified hyperlinks, images, and so forth appear.

Previewing your Web page
To see what your Web page will look like once you™ve published it to the Web, choose
File _ Web Page Preview. This opens the page in your default browser.


Using the Design Gallery
No matter what kind of publication you™re working on ” from a postcard to a Web site ”
Publisher has already done a lot of the design work for you. The results are stored in the
Design Gallery, where you can find everything from logo designs to order forms to
newsletter mastheads.
To insert an object from the Design Gallery, click the Design Gallery Object button at the
bottom of the Object toolbar. This opens the Design Gallery, which shows three tabs:
. The Objects by Category tab: Lists all the categories of objects in the Gallery (see
Figure 24-22); click the category and then choose the object you want from those
displayed.
Part III ¦ Beyond Mastery: Initiative within Office
612




Figure 24-22: The Design Gallery contains dozens of ready-made objects you can use in
your own publications.

. The Objects by Design tab: Shows the same objects but organizes them differently
” by related designs, rather than by category.
. The My Objects tab: Shows objects you™ve created and added to the Design
Gallery. To add an object, select it, then choose Insert _ Add Selection to Design
Gallery. You™ll be asked to give the object a name and assign it to a category. When
you™ve done that, the object remains in the Design Gallery until you remove it, and
you can add it to any future publications by choosing the Design Gallery Object
button and clicking the Your Objects tab.


Grouping by Design
Sometimes you™ll create designs that are made up of many different objects ” several text boxes
mixed with graphics, for example. You can make it easier to move that design or resize it by
grouping all its constituent objects together.
To do that, select them, either by drawing a box around them with your mouse pointer or clicking
each in turn while holding down Shift. A border appears around the outside of all the selected items,
with a button at the bottom with two blue squares in it. Click that button and all the objects in the
group are locked together.
Now, whenever you click one of them, the whole group is selected; you can move or resize it as you
wish. (Note, however, that if you resize a group, the text in it doesn™t resize like the graphics do;
you™ll have adjust font sizes manually to make them fit the resized group.) A border can be added
only to the active object in the group selection.
Chapter 24 ¦ Advanced Publisher Techniques 613


Saving and Printing
To save a Publisher publication, choose File _ Save and assign the publication a name. By
default, Publisher saves publications in its own file format, but you can also save them in a
variety of other file formats, including word processor formats, graphics formats, PostScript,
or as a Publisher template ” in which case, it™s accessible through the New Publication task
pane and you can use it as the basis for future publications.

In any format except Publisher™s own, you run the risk of losing formatting, so unless you
Caution
have a really good reason to do otherwise, it™s probably best to leave your publications in the
default format.


Using the Design Checker
Before you print your publication (or, in the case of a Web page, save it to your Web server),
it™s a good idea to run Publisher™s Design Checker.
Choose Tools _ Design Checker. Among the problems Design Checker looks for are text in
overflow areas, disproportional pictures, empty frames, covered objects, objects partially off
the page, objects in nonprinting regions, blank space at the top of the page, spacing between
sentences, and (for Web sites) a page unreachable by hyperlinks.
The Design Checker is particularly useful if you™re new to Publisher, because it can spot
errors you might not even be aware can be a problem. When you™re more comfortable with
Publisher, you™ll probably find that you seldom use Design Checker.

Printing
When you™re satisfied your publication is as near perfect as you can make it, you™re ready to
print. Printing is pretty much the same as in any Office application ” choose File _ Print and
then select a printer, a range of pages to print, and the number of copies you want.
The Print dialog box contains an additional button, Advanced Print Settings. These options
include the following:
. What resolution to print linked graphics at.
. Whether to allow the printer to substitute its own fonts for those used in the
publication.
. Whether to allow bleeds (images that extend to the edge of the paper). Since most
printers won™t print right to the edge, you have to make your page size slightly
smaller than your paper size and then trim the paper to achieve this effect.
. Options for creating a publication that can be turned into the separations needed
for color printing on a printing press. You can choose the output (i.e., Composite
Grayscale, Composite CMYK, Composite RGB or Separations), the resolution,
and more. You™ll probably want to consult with your printer before selecting any
options here.
Part III ¦ Beyond Mastery: Initiative within Office
614


Preparing for Outside Printing
Sometimes you want to be able to send your publication to a print shop for printing on a
professional press rather than on your own printer. Publisher can help you prepare your files
for that purpose.
Choose File _ Pack and Go _ Take to a Commercial Printing Service. (The other option
here, Take to Another Computer, can split your file over multiple disks, embed necessary
fonts, and include linked graphics, making it easy for you or someone else to work on your
publication on another computer.) This opens a wizard that takes you step by step through
the process of preparing your files for outside printing, including embedding TrueType
fonts, including linked graphics, creating links for embedded graphics, compressing your
publication, and adding an unpacking utility for uncompressing it when it gets to its
destination.


Summary
This chapter focused on some of Publisher™s more advanced features for creating graphically
interesting publications, as well as using Publisher to create Web sites. Points covered
included:
. You can add an intriguing border to any frame with BorderArt, choosing from a
number of ready-made designs or creating your own.
. Publisher™s Drop Cap tools add a nice flair to the start of any paragraph ” and
again, you can either choose a ready-made one or design your own.
. WordArt takes you beyond the normal text tools to enable you to create an eye-
catching hybrid of text and graphics.
. You can insert objects created in other programs easily, and either embed them or
link them.
. Publisher has powerful merging tools that allow you to use it to create personalized
form letters, brochures and catalogs.
. You can turn any Publisher publication into a Web publication, or use Publisher to
create a Web site from scratch.
. Publisher™s Design Gallery offers a plethora of premade objects to dress up any
publication.
. Publisher™s Print dialog box offers extra options designed to help you print your
publication as prettily as possible.
. . .

<<

. 14
( 14)