How to create a custom hit counter that cannot be seen on your Web page in FrontPage 2003 (825497)
The information in this article applies to:
- Microsoft Office FrontPage 2003
For a Microsoft FrontPage 2002 version of this
article, see
229900. SUMMARYThis article describes how to use Microsoft Office FrontPage
2003 to create a custom hit counter that cannot be seen on your Web page. This
article also describes how to obtain the hit counter information from your Web
page. back to the topInsert a hit counter that cannot be seen on your Web page To insert a hit counter, use one of the following methods. Format the hit counter as hidden To format the hit counter as hidden, follow these steps:
- Open the Web page in Design view. On the
Insert menu, click Web Component.
- Under Component type , click Hit
Counter.
- Under Choose a counter style, click a
style from the list, and then click Finish.
- In the Hit Counter Properties box, do one
or both of the following:
- If you want to reset the hit counter, click to select
the Reset the counter to check box, and then type a value to
reset the hit counter to.
- If you want the hit counter to display a fixed number
of digits, click to select the Fixed number of digits check
box, and then type a value to limit the hit counter to.
- Click the hit counter on your page to select it, and then
click Font on the Format menu.
- Under Effects, click to select the
Hidden check box, and then click
OK.
Create a custom image that cannot be seen on your Web page To create a custom image that cannot be seen on your Web page,
follow these steps:
- Open the Web page in Design view. Use an image editing
program to create the image that you want to use for the hit counter. The image
can be a transparent image, an image that has the same color as the background
of the page, or an image that has a width of 1 pixel and a height of 1 pixel.
For more information about how to create a custom image, see the "References"
section of this article.
- Save the image in the Images folder of your FrontPage Web.
- On the Insert menu, click Web
Component.
- Click Hit Counter. Under Choose a counter style, click a style from the list, and then click Finish.
- Click
Custom Picture in the Hit Counter Properties
dialog box.
- Type
images/image_filename in the
window, where image_filename is the file name
of the image that you created in step 1.
- Click OK, and then save the
page.
back to the top Retrieve hit counter information from the WebTo retrieve hit counter information from the Web, follow these
steps:
- In FrontPage, open your Web.
- On the Tools menu, click Site
Settings.
- On the Advanced tab, click to select the
Show hidden files and folders check box.
- Click Apply, and then click
Yes to update the Web.
- In Folders view, double-click to open the
_private folder.
- Right-click
page_name.cnt, where
page_name is the name of the page where you inserted
the hit counter. Point to Open With, and then click
Choose Program .
- In the Open With box, click
Notepad, and then make sure that the following check boxes are
not selected:
- Associate files of this type with the selected
program
- Set as default
- Click OK.
Your hit counter
statistics are displayed in Notepad. back to the topReferences
For more information about how to create a custom hit counter image, click the following article number to view the article in the Microsoft Knowledge Base:
825549
How
to create a custom image for the hit counter using FrontPage 2003
back to the
top
Modification Type: | Major | Last Reviewed: | 1/19/2006 |
---|
Keywords: | kbHOWTOmaster KB825497 |
---|
|