<script type="text/javascript">
(function($) {
var $window = $(window);
$.fn.isVisible = function(){
var $this = $(this),
Left = $this.offset().left,
visibleWidth = $window .width();
return Left < visibleWidth;
}
})(jQuery);
(function($){
var list = $('.portfolio-items'),
showVisibleItems = function(){
list.children('.item:not(.falldown)').each(functio
n(el,
i){
var $this = $(this);
if($this.isVisible()){
$this.addClass('falldown');
}
});
};
</script>
Il me dit que j'ai une erreur juste avant </script> là.
Je comprends pas ... si quelqu'un pouvait m'éclairer 