Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Optimizations and Cycle effect #256

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Optimizations and Cycle effect #256

wants to merge 19 commits into from

Conversation

Jaybuz
Copy link

@Jaybuz Jaybuz commented Jan 20, 2012

I've optimized to town and added cycle, cycleLeft & cycleRight effects now. NivoSlider finally slides!

My minified version is 9000~ bytes.

Jason Busby added 9 commits January 16, 2012 03:53
Removed unneeded jQuery selector
… loops

Replaced selector filters with chained filters
Reworked slices/boxes creation functions to cache HTML and append as a whole
Added many cache variables
Fixed boxRain effect incrementing in the wrong place causing the trigger to fire many times.
Removed spaces in the head comment
Removed console log
//Trigger the beforeChange callback
settings.beforeChange.call(this);


//Set current background before change
if(!nudge){
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering why this extensive if statement containing the same thing is even here. Is it for a future feature or have you removed something previously and forgot to remove it?

Jason Busby added 10 commits January 21, 2012 03:32
…e type

Combined 'slideInLeft' & 'slideInRight' effects
Added previousSlideIndex var
Fixed 'slideInLeft' effect
Improved 'boxRain' loop
Repacked
Added official Mario quote
Added overflow hidden to CSS nivoSlider class for cycle effect
Added slice limit attribute to createSlices function
Repacked
Changed slide link removal time to beginning of animation.
Repacked.
Added jQuery externs file for use when packing with Google Closure Compiler advanced.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant