Training
Certifications
Books
Special Offers
Community




 
Microsoft® FrontPage® Version 2002 Step by Step
Author Online Training Solutions, Inc.
Pages 368
Disk 1 Companion CD(s)
Level Beg/Int
Published 06/06/2001
ISBN 9780735613003
Price $29.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Related Series
Related Books
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 


Chapter 7: Enhancing the Capabilities of Your Web Site continued


Adding Ready-Made Components to a Web Page

In the old days, if you wanted to add fancy effects such as scrolling banners or functional elements such as hit counters to your Web site, you needed to be a programmer. These days, many of these types of elements are available as ready-made Web components. FrontPage provides the following Web components that you can simply drop into your Web pages to give your site a professional look and feel:

Component TypeEffect
Dynamic EffectsHover Button
Marquee
Banner Ad Manager
Web SearchCurrent Web
Spreadsheets and ChartsOffice Spreadsheet
Office Chart
Office PivotTable
Hit CounterVarious styles
Photo GalleryHorizontal Layout
Montage Layout
Slideshow Layout
Vertical Layout
Included ContentSubstitution
Page
Page Based On Schedule
Picture Based On Schedule
Page Banner
Link BarsBar with custom links
Bar with back and next links
Bar based on navigation structure
Table of ContentsFor This Web Site
Based on Page Category
Top 10 ListVisited Pages
Referring Domains
Referring URLs
Search Strings
Visiting Users
Operating Systems
Browser
List View(only available for SharePoint team Web sites)
Document Library View(only available for SharePoint team Web sites)
BCentral Web ComponentsbCentral Banner Ad
bCentral Commerce Manager Add-In
FastCounter
Revenue Avenue affiliate link
Expedia ComponentsLink to a map
Static map
MSN ComponentsSearch the Web with MSN
Stock quote
MSNBC ComponentsBusiness Headlines
Living and Travel Headlines
News Headlines
Sports Headlines
Technology Headlines
Weather Forecast
Additional ComponentsVisual InterDev Navigation Bar
Advanced ControlsHTML
Java Applet
Plug-In
Confirmation Field
ActiveX Control
Design-Time Control


IMPORTANT:
Most of the Web components available with FrontPage are simple to insert and use. However, some work only in SharePoint team Web sites, and others require that special controls be installed on your system before they can be used. The bCentral components require that you have an account with bCentral in order to use them.

Several of the Web components are new to FrontPage 2002:

  • Top 10 lists generate an automatically refreshed list of the top 10 pages on your site in order of page hits, unique users, referral source, search strings, or many other factors. Top 10 lists can be used on Internet or intranet sites.
  • The Microsoft Expedia, MSN, and MSNBC Web components are automatically updated over the Web and require an Internet connection in order to function. You can use the Expedia Web components to add links to static and dynamic maps and driving directions. The MSN Web components provide search capabilities and up-to-the- minute stock market information. The MSNBC Web components enable you to add news, business, technology, and sports headlines to your Web pages; you can also display a current weather forecast for a specific area.

In this exercise, you will insert two of the more common components: a weather forecast and a hit counter. You will also add components that enable people to search both your site and the Web.

The working folder for this exercise is SBS\FrontPage\Capabilities\Components.

Follow these steps:

  1. Open the GardenCo Web site located in the working folder.
  2. Open the index.htm file in the Page view editing window.
  3. Place the insertion point at the end of the body of the page, and press Enter to create a new line.
  4. Type How’s the weather in our garden this week? and then press Enter.
  5. On the Standard toolbar, click the Web Component button to display this dialog box:
  6. Click to view graphic
    Click to view graphic


    TIP:
    Take a few minutes to explore all the Web components that are available in this dialog box, making a note of any that you might want to try out on your own later.

  7. Click MSNBC Components in the Component type list, click Weather forecast from MSNBC in the Choose a MSNBC component box, and then click Finish.
  8. In the Weather forecast from MSNBC Properties dialog box, type Seattle in the Search for a city by name or U.S. ZIP code box, and then click Next.
  9. Seattle, WA appears below the box as the selected option.

  10. Click Finish to close the dialog box and insert the weather component.
  11. A placeholder appears on your page like this:

    Click to view graphic
    Click to view graphic

  12. On the Standard toolbar, click the Preview in Browser button to test the weather component.
  13. If your Internet connection is active, the weather component connects to the MSNBC Web site, retrieves current weather conditions and tomorrow’s forecast, and displays the information on your page, like this:

    Click to view graphic
    Click to view graphic

  14. Click the extended forecast link to connect to the MSNBC weather page on the Web.
  15. Close the browser to return to FrontPage.
  16. Now add a hit counter to the site. Select Insert hit counter here in the bottom shared border, and type Thanks for visiting The Garden Company! You are visitor #, followed by a space.

  17. TIP:
    Hit counters are generally inserted only on the home page of a site, not on every page. In the site used in this exercise, the bottom shared border is shown only on the index.htm page. If this border is shared across all pages, you will want to move the hit counter to the body of the page.

  18. On the Insert menu, click Web Component to display the Insert Web Component dialog box.
  19. In the Component type box, click Hit Counter. Then click the last selection in the Choose a counter style box, and click Finish.
  20. The Hit Counter Properties dialog box opens, as shown on the next page.

    Click to view graphic
    Click to view graphic

  21. Select the Reset counter to check box, and enter 100 in the adjacent box.
  22. For a site that has been up and running for a while, you will want to guess the number of visitors who might already have visited your site and enter that number here.

  23. Select the Fixed number of digits check box, and enter 4 in the adjacent box.
  24. When the hit counter nears 1000, you can reset the number of digits to 5. In the meantime, four digits will give the illusion of a larger number (because the number of visitors is preceded by fewer zeros).

  25. Click OK to close the dialog box and insert the hit counter.
  26. On the Standard toolbar, click the Preview in Browser button to test the hit counter.

  27. IMPORTANT:
    Hit counters work only on server-based Web sites stored on servers that have FrontPage Server Extensions or SharePoint Team Services installed. Disk-based Web sites don’t display the hit counter graphic properly or count the visits, but you can check the placement on a disk-based Web site.

    Because this site has not yet been published to the server, your page looks like this:

    Click to view graphic
    Click to view graphic

  28. Close the browser to return to FrontPage.
  29. Next, you’ll add a search component. Open the search.htm file in the Page view editing window.
  30. Select the words Insert search component here, and click the Web Component button on the Standard toolbar to display the Insert Web Component dialog box.
  31. In the Component type box, click Web Search, and then click Finish to accept Current Web as the option in the Choose a type of search box.
  32. This Search Form Properties dialog box opens:

    Click to view graphic
    Click to view graphic

    The Search Form Properties dialog box specifies the settings for the presentation of the search form and the search results.

  33. View both pages of the dialog box, and then click OK to accept the default options.
  34. Press Enter to insert the Web Search component on the page.
  35. Type If you can’t find it on our site, search the Web!, and press Enter.
  36. Highlight the new text, and then press Ctrl+Spacebar to remove the italic formatting.
  37. Click the line below the text, and click the Web Component button to display the Insert Web Component dialog box.
  38. Click MSN Components in the Component type box, click Search the Web with MSN in the Choose a MSN component box, and then click Finish.
  39. FrontPage inserts the MSN Search component, and the page now looks like this:

    Click to view graphic
    Click to view graphic

  40. On the Standard toolbar, click the Preview in Browser button to test the search components.
  41. When FrontPage displays a message that the page contains elements that need to be saved or published to display correctly, click OK.
  42. In the browser, your page is displayed like this:

    Click to view graphic
    Click to view graphic

  43. In the Search for box, type carnivorous, and click Start Search to start the search.
  44. Because this site has not yet been published to the server, you get this result:

    Click to view graphic
    Click to view graphic

  45. Click the browser’s Back button to return to the Search page.
  46. Type carnivorous in the MSN Search box, and click Search to start the search.
  47. If your Internet connection is active, you are redirected to the Web Search page of MSN, with the results of your search shown.

  48. Close the browser to return to FrontPage.
  49. Close the Web site.


Previous   |  Table of Contents   |   Next




Top of Page


Last Updated: Saturday, July 7, 2001