Many netizens like to "hang" on their own online home. It should be said that the photos are quietly placed on the web, which is already in the past. Now, people prefer to bring some special effects. The Java applet is a good way to increase the photo effect.
Prepare source files
Select the photo to be placed on the web page, scan the image file to get the photo with the scanner, and then use the image processing software such as Photoshop to perform an image of 300 × 300 pixels, and finally save it to or other images such as audience to view software. .jpg format, saved to the newly built folder photo (not to use Chinese characters to name this folder). Now, these photo images are now called 12.jpg, Photo2.jpg, Photo3.jpg. Among them, photo1.jpg is the main photo, photo2.jpg and photo3.jpg are auxiliary photos, and it is best to choose photos of different periods to reflect individuals. In order to let others know you, you can also make an explanation file in an HTML format, which contains some necessary explanatory information. This file is set to note.htm, and this file is also saved in the Photo folder.
2. Prepare HTML Editor
Ancient language cloud: Workers must have a prostitute.
In order to use Java code to program a web page, there is a html code editor. It is recommended to use Web Weaver 98. This program can be downloaded from the Internet, this program is 1.02 version of the Internet on February 1, 1999, downloads the absolute path name ftp://ftp.simtel.net/pub/simtelnet/win95/html/webwv982.zip, download The size is about 3.7m. Everyone can also go to the DOWNLOAD site (http://www.download.com), using the search function provided above, search the Web Weaver 98 download link to the Web Weaver 98 with Web Weaver 98, and the program is installed, the tool is installed after the download is over. Even if you are prepared.
3. Making web files for Java applets with different effects
The process of making the Java applet is relatively simple, as long as the corresponding Java code is input into the HTML editor, then the document is stored as an HTML format (here the HTML files below are Effect1.htm and Effect2, respectively. HTM), saved to the Photo folder.
(1) A beautiful people in the water
"The grass is green, the white fog is vast, there is a good person, in the water side ..."
The realm in the song can also be implemented on the web page. Now that you have a photo on your photo, you can make you feel in the water by the following code.