Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to Make a Hit Counter Count Backward


View products that this article applies to.

This article was previously published under Q241773

↑ Back to the top


Summary

This article describes how to make a FrontPage hit counter count down to zero.

↑ Back to the top


More information

In order to get the FrontPage hit counter to count backward, you must create a custom graphical interface format (GIF), rather than using one of the default graphics types.

  1. Create a custom .gif using any graphic program. The graphic must have the numbers 0 through 9 in the graphic. Also, the numbers must be evenly spaced. The FrontPage hit counter will divide the graphic into 10 sections each 1/10th of the width of the entire graphic. In other words, if the graphic is 10 pixels tall and 100 pixels wide, each number will have a 10 by 10 pixel space to occupy. Place the numbers in reverse order from nine down to zero (left to right) and save the graphic into the images folder in your web.
  2. Open your web and double-click the page you want to include the hit counter on.
  3. Position the cursor at the location you want the hit counter to appear.
  4. From the Insert menu select Component and click Hit Counter
  5. Select the radio button for a custom picture and in the box type /Images/Filename.gif, where Filename.gif is the name of the file you have created.
  6. Check the reset counter to check box and specify zero as the number (this will display all 9s to begin with)
  7. Check the number of digits to display check box, and specify the number of digits to display (specifying 5 will show 99998 in the hit counter to start).
  8. Click OK and save the page.

↑ Back to the top


Keywords: KB241773, kbinfo

↑ Back to the top

Article Info
Article ID : 241773
Revision : 2
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 318