parti_poodle
10-16-2004, 01:29 PM
This is concerning the following script:
Book Flip Slideshow IE
Credits:
Name: Ger Versluis
Homepage: Homepage
This is what is happening: When the page loads, the transparent gif is showing up but there is no "flipping" and the photos don't show up. Here is the URL of my "test page" with the results I'm getting:
http://www.parti-poodle-sw.com/photos/logo_misc/advertisement_slidshows/book_slideshow/book_slideshow.html
What I have checked:
I've double checked and triple checked the "image array" for extra or missing " etc.... I don't think the problem is there.
I believe the placeholder is working properly since it shows up ok on the published page.
The instructions call for the following.....
Insert onload in body tag <body onload="ImageBook()">
WHAT I THINK THE PROBLEM IS:
Should I have the "imagebook" named something else? The instructions say to "insert onload in body tag" I've tried copying & pasting this exact tag elswhere on the page, I've tried copying and pasting it elsewhere within the script itself..... Still same results.
I'm including the first part of the script below (the instructions and all of the image array (in short, anything I am supposed to edit and not the entire script) Any help is appreciated....
<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
***********************************************/
/********************************************************
Create a div with transparent place holder in your html
<div id="Book" style="position:relative">
<img src="http://www.parti-poodle-sw.com/photos/logo_misc/advertise ment_slidshows/book_slideshow/placeholder.gif" width="284" height="227">
</div>
width = 2*book image width +4 height = book image height+2
Insert onload in body tag
<body onload="ImageBook()">
*********************************************************/
// 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;
// array to specify images and optional links. At least 4
// If Link is not needed keep it ""
Book_Image_Sources=new Array(
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/welcome.jpg","",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/availablepups.jpg","http://www.parti -poodle-sw.com/available_puppies.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/aboutpoodles.jpg","http://www.parti- poodle-sw.com/about_poodles.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/aboutus.jpg","http://www.parti-poodl e-sw.com/about_us.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/parents.jpg","http://www.parti-poodl e-sw.com/parents.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/poodlesathome.jpg","http://www.parti -poodle-sw.com/our_poodles_at_home.html"
// NOTE No comma after last line);
/***************** DO NOT EDIT BELOW **********************************/
Book Flip Slideshow IE
Credits:
Name: Ger Versluis
Homepage: Homepage
This is what is happening: When the page loads, the transparent gif is showing up but there is no "flipping" and the photos don't show up. Here is the URL of my "test page" with the results I'm getting:
http://www.parti-poodle-sw.com/photos/logo_misc/advertisement_slidshows/book_slideshow/book_slideshow.html
What I have checked:
I've double checked and triple checked the "image array" for extra or missing " etc.... I don't think the problem is there.
I believe the placeholder is working properly since it shows up ok on the published page.
The instructions call for the following.....
Insert onload in body tag <body onload="ImageBook()">
WHAT I THINK THE PROBLEM IS:
Should I have the "imagebook" named something else? The instructions say to "insert onload in body tag" I've tried copying & pasting this exact tag elswhere on the page, I've tried copying and pasting it elsewhere within the script itself..... Still same results.
I'm including the first part of the script below (the instructions and all of the image array (in short, anything I am supposed to edit and not the entire script) Any help is appreciated....
<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
***********************************************/
/********************************************************
Create a div with transparent place holder in your html
<div id="Book" style="position:relative">
<img src="http://www.parti-poodle-sw.com/photos/logo_misc/advertise ment_slidshows/book_slideshow/placeholder.gif" width="284" height="227">
</div>
width = 2*book image width +4 height = book image height+2
Insert onload in body tag
<body onload="ImageBook()">
*********************************************************/
// 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;
// array to specify images and optional links. At least 4
// If Link is not needed keep it ""
Book_Image_Sources=new Array(
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/welcome.jpg","",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/availablepups.jpg","http://www.parti -poodle-sw.com/available_puppies.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/aboutpoodles.jpg","http://www.parti- poodle-sw.com/about_poodles.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/aboutus.jpg","http://www.parti-poodl e-sw.com/about_us.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/parents.jpg","http://www.parti-poodl e-sw.com/parents.html",
"http://www.parti-poodle-sw.com/photos/logo_misc/advertisement _slidshows/book_slideshow/poodlesathome.jpg","http://www.parti -poodle-sw.com/our_poodles_at_home.html"
// NOTE No comma after last line);
/***************** DO NOT EDIT BELOW **********************************/