Create a hover button effect with FrontPage

Source: Internet
Author: User

We often encounter a situation on the Internet: when the mouse moved to a button, the color of the button immediately changed and will also glow, or suddenly become another picture, very interesting, dynamic is very strong. The effect is--hover button.

To create a hover button, you can easily implement it through FrontPage 2000来.

Using the Create hover button to add animations to your page is an easy way to use without any scripts. Like any other button, the hover button can also contain hyperlinks to other pages or files. However, when a site visitor clicks or points to a hover button, the difference between the button and the normal button is obvious: it can not only glow, but also display a custom picture and even play a sound effect!

Now let's look at how to create a hover button specifically.

First in Page view, place the insertion point where you want to create the hover button.

On the Insert menu, point to Components, and then click the hover button, and the Hover Button Properties dialog box appears (Figure 1).

In the button text box, type the text label you want to put on the hover button. If you want to enter a longer label, adjust the "hover button" width to fit the length of the label.

Figure 1

Clicking Font on the right also allows you to freely set the font, style, size, and color of the text. (But if you want to use a custom picture that already contains a text label, you don't have to enter any text.) )

In the Link to box, type the URL of the page or file that will appear when the site visitor clicks the hover button. Or click Browse to find the location of the page or file.

To set the color that the button starts to appear on the page, select the color you want to use in the button color box. Note that if you click Custom and select a picture to use on the hover button, you cannot modify the color of the button.

To set the background color of the button, in the Background color box, select a background color for hover button. Although the background color of the button does not become transparent, you can choose a color that matches the background color of the page.

To set the color of the hover effect, select a color for the hover effect in the effect color box.

To set the size of the hover button, in the Width and Height boxes, modify the settings in pixels. If you use a custom picture on a hover button, or if the button text is too long, you must set the width and height of the button to match the widths and heights of the picture or button text.

As for your most interested in the "effect" settings are light-emitting, reverse-color light-emitting, light, fill color, color contrast, recessed, convex into 7 kinds of many, you might as well patiently one to try to find the most dazzling a special effect.

More commonly, you can prepare two images of the same size beforehand, and then choose the Custom option in the left hand of the dialog box, where you can set a sound effect for hover buttons or a picture with a dynamic display for hover buttons. For example, in the button box, type the URL of the picture you want to use as the hover button background or click Browse to find the picture, and then click OK, and then in the hover box, type the URL of the picture that you want to use as a hover button change, and then click OK.

In the play sound area, select the action and sound effects:

To enable a site visitor to play a sound effect when you click hover button, type the URL of the sound effect in the Click Box or click Browse to find the sound effect.

In order for a site visitor to play a sound effect when pointing to the hover button, type the URL of the sound effect in the hover box, or click Browse to find the location of the sound effect file.

Note that because the hover button is actually a Java applet, you can use a sound effect file that is only. au format, and you cannot use the. midi or. wav file; In addition, the. au file must also be a 8-bit, 8000Hz, mono, u-rule format. When all settings are complete, to preview what the hover button will look like when a visitor browses your Web page using the browser, click the Preview tab, or click Preview in Browser (on the File menu).

How, the mouse to the place, the picture flying sound effect rolling, absolutely make the visitor admiration!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.