Skip to content

Instantly share code, notes, and snippets.

@jonleecraw
jonleecraw / gist:0f434146f105153e458d
Created Nov 28, 2014
(Nivo Slider v3.2) This is a proper slide effect that slides an image in from the left (and is visually analogous to the 'slideInRight' effect), and doesn't depend on the outer slider and wrapper having overflow:hidden.
View gist:0f434146f105153e458d
... effects if/else if block ...
} else if(currentEffect === 'slideInFromLeft'){
createSlices(slider, settings, vars);
firstSlice = $('.nivo-slice:first', slider);
firstSlice.css({
'width': '0px',
'left' : '0px',
'right': '',
'opacity': '1'
You can’t perform that action at this time.