PDA

View Full Version : Book Flip



Smash54
06-30-2011, 01:43 PM
1) Script Title: :: Book Flip Slideshow


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

3) Describe problem: Will get a box where the book flip is to be but nothing shows

Any help would be great http://nteu177.zxq.net/

jscheuer1
06-30-2011, 04:53 PM
Here in the page's source code:


<div style="border-style: solid; border-width: 1px; padding-left: 4px; padding-right: 4px; padding-top: 1px; padding-bottom: 1px">
<script type="text/javascript">
<script type="text/javascript">

/***********************************************
* Book Flip slideshow script- Ger Versluis 2003
* Permission granted to DynamicDrive.com to feature script
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

You have two opening script tags. Get rid of one of them.

And here:


Book_Image_Sources=new Array(
"Pics/eap.jpg","http://www.javascriptkit.com",
"Pics/nteuovertime.jpg","http://www.javascriptkit.com",
"photo3.jpg","", //this slide isn't linked
"photo4.jpg","http://www.codingforums.com" // NOTE No comma after last line
);

eap.jpg is corrupted, nteuovertime.jpg is a huge blank image, and the other two are 404 Not Found. Get at least 4 real images of the actual dimensions of the Book Images (Book_Image_Width and Book_Image_Height as configured in the script).

There could also be other problems but these all have to be fixed first.

Smash54
06-30-2011, 04:55 PM
I will look at it as soon as I go home thanks for the help