★ wanayoo — archive 1999 http://officeupdate.microsoft.com/2000/articles/pd2_CreateARollover.htmNouvelle recherche | Portail wanayoo
Click here to go to the Office Update Home page   All Products  |   Support  |   Search  |   microsoft.com Guide  
IE 5 Download testMicrosoft
   Home   |    Member Info   |    Search Office Update   |    eServices   |    Office Update Worldwide   |    Site Help   |
 

Create a Rollover Button in PhotoDraw 2000 Version 2

Like any other button that appears on a Web site, a rollover button contains a hyperlink to another Web page or file. But when a site visitor hovers over or clicks a rollover button, the button will glow or otherwise change its appearance. 

 The three states of a rollover button

With Microsoft PhotoDraw™ 2000 Version 2, you can create rollover buttons without knowing HTML programming. Simply select an object that you want to use as a button, apply a rollover effect, and then preview the rollover in your Web browser.

Apply a rollover effect to a selected object

  1. In PhotoDraw, select the object that you want to add a rollover effect to.
  2. On the Web Effects menu, click Rollover.
  3. In the gallery, click the effect that you want to apply.

Save a picture containing rollover effects

To complete a picture containing rollover effects, you must save it as a Web page. When you save a rollover effect as a Web page, PhotoDraw generates an .htm file containing the HTML code necessary to display the rollover in a Web browser.

  1. On the Save Send menu, click Save as Web Page.
  2. If your picture has transparent areas, do one of the following:
    • To keep the transparent areas, click Let the Web page background show through, and then click Next.
    • To fill the transparent areas in the picture, click Fill them with the background color, click Next, choose a fill color, and then click Next.
  3. Choose the preview that best meets your preference for image quality and download speed.
  4. Click Next, and then click Save.
  5. In the Save As dialog box, enter a name for the Web page, and then click Save.

What if I want to add a rollover button to an existing Web page?

If you have Microsoft FrontPage® 2000 installed on your computer, you can use the Send to Microsoft FrontPage command (Save Send menu) to insert the code directly into an existing Web page. If you don't have FrontPage 2000 installed, you must copy the rollover code from the .htm file that PhotoDraw generated and paste it into your existing .htm file. PhotoDraw adds instructions to the HTML code that tell you exactly which lines of code you need to copy.

  1. In your HTML editor, open the .htm file that contains the rollover you want to copy.
  2. Switch to the view that shows HTML source code for the .htm file. (In FrontPage, for example, you do this by clicking the HTML tab in Page view.)
  3. In the HTML code, select the code that falls between the following two comment tags:
    <!---- START COPYING THE PHOTODRAW ROLLOVER HERE ----->
    <!----- STOP COPYING THE PHOTODRAW ROLLOVER HERE ---->
  4. Press CTRL+C to copy the rollover code to the Clipboard.
  5. Open the .htm file where you want the rollover to appear.
  6. Paste the rollover code between the <BODY> </BODY> tags of your .htm page.
  7. Repeat steps 3 through 6 for any other rollovers you want to copy.
 
é

© 2000 Microsoft Corporation.
All rights reserved. Terms of use.  Disclaimer.