Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 293910 - Last Review: January 31, 2007 - Revision: 2.1
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
This article was previously published under Q293910
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.
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.
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:
- In the Folder List, expand (click the plus sign next to) the PhotoGallery folder.
- Expand the PhotoNNNN folder (where NNNN is a unique number).
- Double-click the Sldshow.js file. The file will open in
Notepad.
- On the Edit menu, click Replace.
- In the Find box, type the following:
if (count < widthLength)
- In the Replace box, type the following:
if (count <= widthLength)
- Click Replace All.
- On the File menu, click Save.
- 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.
Microsoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
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.
APPLIES TO
- Microsoft Office FrontPage 2003
- Microsoft FrontPage 2002 Standard Edition
| kbprb kbweb kbprogramming KB293910 |
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