Microsoft KB Archive/241773

= How to Make a Hit Counter Count Backward =

Article ID: 241773

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Server Extensions

-



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.


 * 1) Position the cursor at the location you want the hit counter to appear.
 * 2) From the Insert menu select Component and click Hit Counter
 * 3) 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.
 * 4) Check the reset counter to check box and specify zero as the number (this will display all 9s to begin with)
 * 5) 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).
 * 6) Click OK and save the page.

Additional query words: front page

Keywords: kbinfo KB241773

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.