这是一款jQuery360度全景产品,设计不错的喜欢的可以下载。
$(document).ready(function () {
// Tells if the app is ready for user interaction
var ready = false,
// Tells the app if the user is dragging the pointer
dragging = false,
// Stores the pointer starting X position for the pointer tracking
pointerStartPosX = 0,
// Stores the pointer ending X position for the pointer tracking
pointerEndPosX = 0,
// Stores the distance between the starting and ending pointer X position in each time period we are tracking the pointer
pointerDistance = 0,
// The starting time of the pointer tracking period
monitorStartTime = 0,
// The pointer tracking time duration
monitorInt = 10,
// A setInterval instance used to call the rendering function
ticker = 0,
// Sets the speed of the image sliding animation
speedMultiplier = 10,
// CanvasLoader instance variable
spinner,
// Stores the total amount of images we have in the sequence
totalFrames = 180,
// The current frame value of the image slider animation
currentFrame = 0,
// Stores all the loaded image objects
frames = [],
// The value of the end frame which the currentFrame will be tweened to during the sliding animation
endFrame = 0,
// We keep track of the loaded images by increasing every time a new image is added to the image slider
loadedImages = 0;
/**
* Adds a "spiral" shaped CanvasLoader instance to the #spinner div
*/
系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791