Log in

View Full Version : Javascript Animated Christmas Card?



Seppy
11-16-2007, 10:50 PM
I am looking to create a javascript animated Christmas card that would open the top of the christmas card up just once so you can read what I write on the inside of the card. I tried working with this.. http://www.dynamicdrive.com/dynamicindex14/bookflip.htm But, I am very new to Javascripting and I am not sure what all of the code in the javascript means. I was wondering if anyone could point me in the right direction or could show me how to create a javascript animation that would be three or four images that are positioned landscape (not portrait) and give it the effect that the top of the card is actually opening up so you can read the inside contents.


Thanks in advance for any help!!

jscheuer1
11-17-2007, 03:16 PM
This portrait vs. landscape business is governed by the dimensions of your images. The dimensions set in the script and those of the markup should be modified to accommodate the images. Ask questions if you like:

http://home.comcast.net/~jscheuer1/side/files/xmas_flip.htm

Use your browser's 'view source' to get the code.

Seppy
11-17-2007, 05:50 PM
Awesome! That is pretty much what I am looking for. How do I get the card to open up the other direction?

Thanks in advance, I am really starting to like javascript!

jscheuer1
11-17-2007, 06:18 PM
http://home.comcast.net/~jscheuer1/side/files/xmas_flip_up.htm