How to Make a Hit Counter Count Backward (241773)



The information in this article applies to:

  • FrontPage 2000 Server Extensions from Microsoft

This article was previously published under Q241773

SUMMARY

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

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.

Modification Type:MajorLast Reviewed:4/16/2002
Keywords:kbinfo KB241773