Easily insert Java effects with Dreamweaver

Source: Internet
Author: User

The use of Java technology to create a Web page special effects, can make the Web page lively and beautiful, however, the Java command is not so easy to master, many readers see programming statements on the dizzy. This example will introduce a good thing to the reader--anfy Java, with it, you can not write Java commands, you can easily achieve a variety of web effects.

Effect description

Create a snow effect on a snow image, and with the snow there will be text from the bottom up to form a winter snow animation, and insert the animation into any position in the Web page, as shown in Figure 62-1.

Creative Thinking

It is easy to make special effects by using ANFY Java software to generate special effects, then copying the automatically generated code to the corresponding location in the Web page.

Operation Steps

(1) Install and start the software. Double-click "Anfysetup" in the source folder of this instance to install the software. When the installation is complete, double-click the "Anfy" icon on the desktop to start the program, as shown in Figure 62-2.

(2) Set effect type. There are 6 radio buttons under the Type bar in the interface, representing 6 different types of effects. Select the third type of "image effects" here, select "SNOW" in the Drop-down menu bar, and click the Next button to set the next step, as shown in Figure 62-3.

(3) Select the background image. Enter the path and file name of the picture in the text box under Background image, or click the Browse button on the right to select the picture, and the other options are set by default. Click the Preview button to preview, and if you feel dissatisfied, you can also click the Back button to return to the previous step to modify. Then click the Next button, as shown in Figure 62-4.

(4) Set the scrolling text. The image effects are set, and then the text effects are set. Select the Vertical type in the selection box under scrolling text to make the text move vertically, and in the text box under Text, enter the text you want to appear in the picture. In addition to these settings, you can set parameters such as font and text size, color, and shadow in the Font box in the upper-right corner, and then click Next when you have set each option parameter, as shown in Figure 62-5.

(5) The effect of the optimization settings. As shown in Figure 62-6, the options that appear are primarily to optimize the effect, select "Speed Best" here, and then click Next.

(6) The window that pops up at this point is a registration window, as shown in Figure 62-7. In this window, you can click the Next button without making any selections or settings.

(7) Copy the code to the Clipboard. The pop-up window is the Code window, click the Copy to ClipBook button in the window, and then open the page in Dreamweaver that you want to insert a special effect, which opens the texiao.htm file in this instance footage folder and places the cursor in the cell where you want to insert the effect, as shown in Figure 62-8.

(8) Copy the code to the Web page. Switch to the Code view window and press CTRL + V on the keyboard to copy the code generated in the ANFY software to the appropriate location on the page, as shown in Figure 62-9.

(9) Save all files. If you press the F12 key to preview at this point, you will not see the correct result, because the class file that makes the effect run is missing, you must manually add the class file to the same folder as the Web page path. Select the "Copy all Files to" button in the ANFY software to save settings for the paging file in the pop-up dialog box, as shown in Figure 62-10.

Tip: Because this is just a class file that needs to be used for the software, you can save the file directly to a new folder on your desktop, and then delete the folder when you copy the class file.

(10) Copy the related class file (the suffix named. class file) and the text file in the new folder on the desktop to the folder where you saved the Web page where you want to apply the effects, and you can insert the effects anywhere in the page, as shown in Figure 62-11. Readers can refer to the texiaook.htm effect file in this instance's material folder. So far, this example is finished.

Can be good at discovering and using effective auxiliary tools, not only can make the design more exciting, more able to improve work efficiency, can be a multiplier.

Note : For more wonderful tutorials, please pay attention to the triple web Design Tutorial section,

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.