PDA

View Full Version : Book Flip Slideshow - Vertical



newatthis
05-08-2008, 04:10 PM
1) Script Title: Book Flip Slideshow

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/bookflip.htm

3) Describe problem: It states that the slideshow can be set to either flip horizontally or vertically yet I have not managed to alter the code so that it flips vertically.

Can someone please help me?

jscheuer1
05-08-2008, 04:40 PM
There are at least two versions of this script around, probably more. In some versions the vertical capability was removed. Make sure you are using the version from the demo page here on Dynamic Drive. If you have that version, it has an area like so:


// 7 variables to control behavior
var Book_Image_Width=140;
var Book_Image_Height=225;
var Book_Border=true;
var Book_Border_Color="gray";
var Book_Speed=15;
var Book_NextPage_Delay=1500; //1 second=1000
var Book_Vertical_Turn=0;

Change the highlighted value to 1:

var Book_Vertical_Turn=1;

And, of course, the width should now be set to the width of the images used, while it is the height that should now be set to twice the height of the images used +4 when it comes time to make this part:


<div id="Book" style="position:relative">
<img src="placeholder.gif" width="144" height="227">
</div>

If you need more help:

Please post a link to the page on your site that contains the problematic code so we can check it out.

Just curious, were you able to get it to work horizontally?

newatthis
05-08-2008, 05:06 PM
Thanks! I'll try that.
Yes - I was able to get it to work horizontally (and if I can then anyone can......)
Thanks again!