|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 825549 - Last Review: June 20, 2007 - Revision: 4.2 How to create a custom image for the hit counter by using SharePoint Designer 2007 or FrontPage 2003
For a Microsoft FrontPage 2002 version of this article, see 295224Â
(http://kbalertz.com/Feedback.aspx?kbNumber=295224/
)
.
For a Microsoft FrontPage 2000 version of this article, see 205755Â
(http://kbalertz.com/Feedback.aspx?kbNumber=205755/
)
.
This article describes how to create a custom image for the hit counter in Microsoft Office SharePoint Designer 2007 or in Microsoft Office FrontPage 2003. The hit counter divides an image into 10 equal horizontal segments to display the numbers. The 10-percent segment on the leftmost side is zero (0), and FrontPage enumerates each 10-percent segment to the right 1 through 9. The hit counter supports Graphics Interchange Format (GIF) images only.
Create a custom image for the hit counterTo create a custom image for the hit counter, follow these steps: - Create an image:
- Open an image editing program that can save files as .gif images (for example, Microsoft Photo Editor), and then create an image that is 200 pixels wide and 40 pixels high.
- Evenly put text for the numbers 0 through 9 from left to right. If your image editing program can put a grid on the image, you may want to use this feature to align the text more accurately. In this example, the graphic for each number is 20 pixels wide. The numbers should form a line:
0 1 2 3 4 5 6 7 8 9 - After you are satisfied with the look and the alignment of your image, save the image in .gif format as Counter.gif.
- Import the image into your Web site:
- Open your Web site.
- On the View
menu, click Folder list if the Folder list pane is not visible. In the Folder List, click the Images
folder to open it.
- Import the image:
SharePoint Designer 2007- On the File
menu, point to Import, and then click File.
- In the Import
dialog box, click Add File.
- In the Add File to Import List dialog box, locate and click the Counter.gif file, and then click Open.
- In the Import File dialog box, click OK.
FrontPage 2003- On the File
menu, click Import.
- In the Import
dialog box, click Add File.
- In the Add File to Import List dialog box, locate and click the Counter.gif file, and then click Open.
- In the Import File to FrontPage Web dialog box, click OK.
- Add the counter and custom image to your page:
- In Design
view, open the page where you want to use the counter.
- Click your page to put the insertion point in the location where you want the hit counter to appear.
- On the Insert
menu, click Web Component.
- In the Insert Web Component
dialog box, click Hit Counter, and then click Finish.
- In the Hit Counter Properties
dialog box, click Custom Picture.
- In the Custom Image
text box, type images/counter.gif, and then click OK.
- On the File
menu, click Save
- Click Preview in Browser.
Note You may have to edit the image in your image editing program several times to correct the placement and look of the numbers. The size of the image is not important to the hit counter, but for simplicity, you may want to create images that have widths that are evenly divisible by 10 (for example, 100 pixels, 200 pixels, 300 pixels). 241773Â
(http://kbalertz.com/Feedback.aspx?kbNumber=241773/
)
How to make a hit counter count backward
277656Â
(http://kbalertz.com/Feedback.aspx?kbNumber=277656/
)
How to use a custom hit counter image in a shared border in FrontPage 2000
825497Â
(http://kbalertz.com/Feedback.aspx?kbNumber=825497/
)
How to use Microsoft Office FrontPage 2003 to create a custom hit counter that cannot be seen on your Web page
APPLIES TO- Microsoft Office SharePoint Designer 2007
- Microsoft Office FrontPage 2003
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
|
 |
 |
 |
 |
 |
 |
 |
| |