FP98: JavaScript Error if Animation Applied Only to Image (175171)
The information in this article applies to:
- Microsoft FrontPage 98 for Windows
This article was previously published under Q175171 SYMPTOMS When you click the Preview tab at the
bottom of the FrontPage Editor window, or when you click Preview In
Browser on the File menu, you receive a JavaScript
error message.
NOTE: The exact text of the error message varies depending on which
Web browser you are using to view the page. CAUSE This behavior occurs when you apply the following types of
animation to a selected image, but your selection does not contain any text:
- Fly From Top-Right By Word
- Fly From Botton-Right By Word
- Drop In By Word
Animation effects are designed to animate text, not images.
When you apply animation to an image or text, FrontPage writes JavaScript code
that uses the paragraph tag (<P>) to determine where to start and stop
the animation. You receive the error message if no text is found.
WORKAROUND To work around this behavior and avoid the error message,
use either of the following methods. NOTE: These methods will not animate the image. Method 1: Insert a Space before Applying Animation- Click in front of the image.
- Press the SPACEBAR one time.
- Select the space and the image.
- On the Format menu, point to
Animation, and then click the effect that you want to
use.
Method 2: Put the Image inside a Paragraph Element- Click the HTML tab at the bottom of the
FrontPage Editor window.
- Add the following tag before the <img
src="imagename.jpg"> tag, where "imagename" is the file name of the image
you are using:
- Add the following tag after the <img
src="imagename.jpg"> tag, where "imagename" is the file name of the image
you are using:
- Click the Normal tab.
Modification Type: | Minor | Last Reviewed: | 4/18/2003 |
---|
Keywords: | kbprb KB175171 |
---|
|