2012年3月24日星期六

UGG ClearanceIs a based on HTML5and jQuery to realize simulation of real flip effect library

Is a based on HTML5and jQuery to realize simulation of real flip effect library. Flip effect do very well,Dr Dre Beats, and # :& 43 ;support hardware accelerated & # 43 ;support cross-platform & # 43 ;using a simple & # Volume 43 ;only 15K to download address :compression version :Version :buy the use of --------------------------------------------------------------------------------------------- constructor :$ ( ) .
Turn ( ) ;options Example: $ ( ) . Turn ( { page: 1 ,acceleration: false} ) ;attributes :Page: ( current page ) Gets the current page. Example: Alert ($ ( the ) . Turn ( ) ;view: ( ) returns an array ,array to store the current display two page of the page ,if not, it is 0) Gets the current view .
A view is basically an array of two values ,in which the key is the left page and the right page . Cases where there is only one page ,the value will be zero. Example: Alert ($ ( ) .
Turn ( ) ) ;method :page: ( jumping to a specified number of pages ) Example: $ ( ) . Turn ( ,2) ;next: ( jumping to the next page ) Example: $ ( selector ) . Turn ( ) ;previous: ( jumping to the previous page ) Example: $ ( ) .
Turn ( ) ;stop: ( stops the current page flip effect ) Example: $ ( ) . Turn ( ) . Turn ( ) ;resize ( Resets the size of all the wrappers used by turn ) PS: this still don ,look up the source code is water of a mist ,UGG UK Sale,seek expert advice .
Example: $ ( ) . Turn ( ) ;disable: ( closed all the animation effect ) Example: $ ( ) . Turn ( disable ,true ) ;event : turning: ( begins page when the trigger ) Example: $ ( ) .
Bind ( turning ,Cheap Nike Air Max,function ( E ,page ) {console.log ( page& # 43 ; bye... ) ;} ) ;turned ( Fired when page after the end of the trigger ) a page has been turned. Example: $ ( ) .
Bind ( ( E ,function ,Monster Beats Tour,page ,pageObj ) {alert ( turned to # 43 ;page ) ;} ) ;start: ( page the normal display after the trigger ) Example: $ ( ) . Bind ( start ,UGG Clearance,function ( E ,turn ) {console.
log ( Is it turning ? # 43 ;turn ) ;} ) ;end: ( folding effect layer hidden trigger ) Example: $ ( ) the. Bind ( ( E ,function ) { } ;- ) ---------------------------------------------------------------------------------- but and home features compared not perfect .
So I wrote a small packet ,an increase of the function and effect of .HTML code layout changed a bit, can go to the below address specific view .Demo: a total of 3 methods: ( addDirectionNav ) :add book ( ) :add addShadow button .
The shadow effect .CheckPosition ( ) :Check Book location ,stay centered .Method and trunjs method is similar to the $ ( pages # . ) . Turn ( ) ;$ ( pages # ) . CheckPosition ( ) .
Related articles:

没有评论:

发表评论