$(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
*/
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
