AnfyFade 2.1 - Copyright (C) by Fabio Ciucci 1996/98 This applet can execute a cross-fade between any GIF or JPG image, the only requirement is that all images must be same size. Remember, are needed: AnFade.class , Lware.class and anfy.class. You must upload these 3 .class files and insert the tag on your html document to add this applet to your page. Here an example of what you have to write in the html (the things anfter the ; are comments with min-max values acceptet): ; Name, Width, Height ; Register code (if you have it) ; Reglink opened in new frame? ; Name of new frame for reglink ; Image 1 to load ; Image 2 to load ; Image 3 to load ; Image 4 to load ; Image 5 to load ; Image 6 to load (etc.) ; link 1 ; link 2 ; link 3 ; link 4 ; link 5 ; link 6 ; statusbar msg on image 1 ; statusbar msg on image 2 ; statusbar msg on image 3 ; statusbar msg on image 4 ; statusbar msg on image 5 ; statusbar msg on image 6 ; resolution (1-8) ; speed of fade (1-255) ; pause in milliseconds. ; Memory deallocation delay ; Task priority (1..10) ; Min. milliseconds/frame for sync Sorry, your browser doesn't suppor Java. ; Msg in no java browsers --------- Here detailed instructions about how to change parameters: The images can be of any size, GIF and/or JPG. But must be same size. The credits parameter can't be changed otherwise the applet will not work. To activate the reg parameters read the shareware registration notes. In the "regcode" parameter you have to place the registration code you purchase from the author. If it is correct and the applet is run from the registered domain name, you can use "link" parameters, where you can specify an URL where bring user when the applet is clicked. If you set to "YES" regnewframe, you can specify a frame where load the reglink: "_blank" : To load the link in a new blank unnamed browser window. "_self" : To load the link into the same window the applet occupies. "_parent" : To load the link into the immediate FRAMESET parent. "_top" : To load the link into the top body of the window. Otherwise the frame name, for example "myframe1". res determine the size of the applet: with res=1 it equals the size of the pics, with res=2 is double, etc. Remember to update the width and height tags: with res=1 must be same as the size of pics, with res=2 must be double etc. Otherwise the applet will be not well displayed on browsers. You can decide HOW MUCH images add in crossfading slideshow. The min is 2, max is up to you. If you want to fade between 2 only images, do something like: If you want to fade between 3 images, do something like: And so on. Just add image4,image5,..... With statusmsg1,statusmsg2,statusmsg3... parameters you can change the message displayed in the statusbar when the different images are displayed. Paying shareware registration, the link1,link2,... parameters will be enabled and this applet can become a crossfade banner: With this example, if the aplet is clicked when image 1 is displayed, it will bring to http://www.anfiteatro.it/java.html, but if cliecked when image 2 is displayed, any linking will be done since we wrote "NO". You can place an URL link related to each image, just use same number. The speed parameter determine the speed of fade between images. To be exact, it determine the number of frames, calculated as 256/speed. A good value is 8, where you have 32 frames, a good resolution for 65000 colors displays, and quite fast. Values under 8 are useful only for who has a 24bit video mode (16 millions of colors), otherwise is only slower. The pause, in milliseconds, determine the "hold" time for images between the fades.