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.

Slide show thumbnails are not displayed correctly when you use a browser to view a FrontPage 2002 Web page or a FrontPage 2003 Web page

View products that this article applies to.


When you use a browser to preview a Microsoft FrontPage 2002 Web page or a Microsoft Office FrontPage 2003 Web page that contains a FrontPage slide show photo gallery, you may see five thumbnails initially. However, when you click the right arrow, you may see only four thumbnails; when you click the left arrow to go back, you see five thumbnails.

↑ Back to the top


The width of the thumbnails combined with the width of the space between the thumbnails exactly equals the width of the table cell in which the thumbnails are placed. The JavaScript that determines how many thumbnails need to be displayed does not display the fifth thumbnail if they are equal.

↑ Back to the top


Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To work around this behavior and display the fifth thumbnail when both the cell width and the combined width of the thumbnails and space between them is equal, change the JavaScript. To do this, open your Web in FrontPage, and then follow these steps:
  1. In the Folder List, expand (click the plus sign next to) the PhotoGallery folder.
  2. Expand the PhotoNNNN folder (where NNNN is a unique number).
  3. Double-click the Sldshow.js file. The file will open in Notepad.
  4. On the Edit menu, click Replace.
  5. In the Find box, type the following:
    if (count < widthLength)
  6. In the Replace box, type the following:
    if (count <= widthLength)
  7. Click Replace All.
  8. On the File menu, click Save.
  9. Preview the page in your browser. In the browser, click Refresh to make sure you are looking at the latest version of the page.
NOTE: If you make any changes to the photo gallery component either by double-clicking it to edit the page or by right-clicking the photo gallery page and then clicking Properties on the shortcut menu, any changes you made to the Sldshow.js file will be overwritten.

↑ Back to the top


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top

More information

For more information about photo galleries, click Microsoft FrontPage Help on the Help menu, type photo gallery in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top

Keywords: KB293910, kbprogramming, kbweb, kbprb

↑ Back to the top

Article Info
Article ID : 293910
Revision : 3
Created on : 1/31/2007
Published on : 1/31/2007
Exists online : False
Views : 349