Log In · Register

 
 
Closed TopicStart new topic
book flip, xanga pictures
Dick_and_Jane
post Nov 2 2005, 08:11 PM
Post #1


Senior Member
***

Group: Member
Posts: 31
Joined: Oct 2005
Member No: 266,798



I found this at dynamicDrive.com but can't seem to put it into Xanga format.
I love this book flip for pictures, but would like to know how to do this either in weblog entry if that's possible or if not, then how it can be used. Thanks



Directions

Step 1: Insert the below script into the BODY section of your page where you wish the slideshow to appear:

Select All


Step 2: Download the below image "placeholder.gif", which the above script requires and references:THE IMAGE HERE IS A BOX

(enlarged for easier download. Right click and choose "Save As").

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 script
All 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.
 
talcumpowder
post Nov 2 2005, 08:15 PM
Post #2


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



Get free hosting. Make a new HTML page and insert above code.
Now, make an iframe and make it call up your slideshow page (full url). Encode it @ Codehouse and place in Xanga entry. Don't forget to check "Edit HTML"!
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: