codrops / SlitSlider

A responsive slideshow with a twist: the idea is to slice open the current slide when navigating to the next or previous one. Using jQuery and CSS animations we can create unique slide transitions for the content elements.
459 stars 135 forks source link

Function not defined #3

Closed a0r1an closed 11 years ago

a0r1an commented 11 years ago

I tried implementing the slider into an existing design but the two times i have tried to implement the slider I have received two similar errors. The first error says TypeError: Modernizr.prefixed is not a function

...s.transEndEventName = this.transEndEventNames[ Modernizr.prefixed( 'transition' ...

The second error says TypeError: #slider.prefixed is not a function

onBeforeChange : function( slide, pos ) ...

Thanks in advance

botelho commented 11 years ago

The Modernizr build is incorrect. It needs to have Modernizr.prefixed() just like the version you find here