...

View Full Version : can I do my idea with JavaScript



auriaks
12-28-2010, 02:40 PM
hi everyone,

I want to create a photo album with 3 images like these:
http://www.laisvasprotas.xz.lt/1.png

I hide two of them and make them little smaller then main one:
+ added two arrows to both sides.
http://www.laisvasprotas.xz.lt/2.png

the thing is that I want those images to change when someone pushes the arrows. What is more, I want changing style to be something like spinning around the circle.

The thing is that I want to save the image on which user was last and when he comes back - it will show his last image. I also would like to use image or other content like some HTML script.

is it possible to do it with JavaScript only? Maybe there is something like that already created. I do not think that it is cery hard, just need deeper knowledge than mine.

Kind regards...

devnull69
12-28-2010, 02:51 PM
I would suggest you use jQuery as there are a lot of predefined plugins and/or demos for your effect, which is called "coverflow"

Examples:
http://www.blarnee.com/projects/coverflow/
http://addyosmani.com/resources/coverflow/demo/demo.html

auriaks
12-28-2010, 07:22 PM
I followed your links and came up with this demo:

http://swat.xz.lt/demo/

What I have to change if I want those images to start showing not from the first one but from the Middle one? then it would be possible to see both arrows when entering this gallery...

Thanks.

jmrker
12-28-2010, 09:14 PM
Something else to consider:
http://www.vicsjavascripts.org.uk/ElementEllipseII/ElementEllipseII.htm

auriaks
12-29-2010, 12:44 AM
Something else to consider:
http://www.vicsjavascripts.org.uk/ElementEllipseII/ElementEllipseII.htm

Sorry, but no...

Anyway, maybe it is possible to change existing script to start from middle picture or from 2nd one...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum