Home
Image Slide shows
Here
|
Categories
Other Sections
Sweet Ads
Compatibility
|
|
FF1+ IE5+ Opr7+
Book Flip Slideshow Author:
Ger Versluis | Homepage
Description: As the name loosely implies, Book Flip is an image slideshow that simulates a page being turned to reveal two new slides at once. Some other impressive features of this slideshow are:
Ah just gotta love DHTML! Demo:
Step 1: Insert the below script into the BODY section of your page where you wish the slideshow to appear: Step 2: Download the below image "placeholder.gif", which the above script requires and references:
Step 3: Finally, add the below onload event handler inside the <BODY> tag itself: <body onload="ImageBook()"> That's a wrap. Read on for important customization info. Customizing the scriptAll changes to the script takes place in the code of Step 1, which is documented for the purpose. First, customize the 7 variables near the top of the script per the comments. Then, locate the <DIV> tag at the bottom of the code, which reads: <div id="Book" style="position:relative"> <img src="placeholder.gif" width="144" height="227"> </div> You now need to change the width and height of the "placeholder.gif" image above using the preset formula: placeholder width: 2*book image width+4 placeholder height: book image height+2 Note that if you set the slideshow to flip vertically, then the width and height settings need to be interchanged, so placeholder width= book image width+2, and placeholder height= 2*book imageheight+4. And that's it. FYI the above customization steps are repeated within the script for easy reference. |