Panorama view
Panorama view by Arkacaraka
DESCRIPTION:
Through this simple method, we can look attractive panoramic explorers.
By involving Jquery script and zoom effect are controlled simultaneously.
The basic principle of this script is, drag and zoom the image that works constantly.
thus produced an animated appearance as spectacle video're surfing the panorama.
Important parameters that need to be set are:
The order set the stage in a linear fashion from beginning to end show.
position on the frame image viewer below are the initials of the value used in panorama.js.
example:
from 0,1,2 to 1,0.5,3
(from 0,1,2) which means: the value of "0" = left-right position (x), "1" = position of top-down (Y) and "2" = value of the zoom (2x zoom).
(to 1,0.5,3) and this is the end position of the image in one step, and adhere to the same initials.
See below :
URL TO CODE:Code:{var $=jQuery;options.duration=options.duration||10;var paths= [{from:[1,0.5,1],to:[1,0.8,2]},//stage 0 {from:[1,0.5,1],to:[1,0.8,6]},//stage 1 {from:[1,0.8,6],to:[1,0.8,5]},//stage 2 {from:[1,0.8,5],to:[1,0.8,3]},//stage 3 {from:[1,0.8,3],to:[1,0.8,1]},//stage 4 {from:[1,0.8,2],to:[-0.006,0.8,2]},//stageb 5 {from:[-0.006,0.8,2],to:[-0.006,0.13,2]},//stage 6 {from:[-0.006,0.13,2],to:[-0.006,0.13,5]}, //stage 7 {from:[-0.006,0.13,5],to:[0.3,0.13,5]},//stage 8 {from:[1,0.8,1],to:[0,0,0]}];//End stage
jquery_panorama.js
panorama.js
View" DEMO Panorama view"
Download panorama.zip



Reply With Quote

Bookmarks