Problema entre Vs JQuery
Pessoal, estou com um problema, que não consigo resolver:
Quando ultliso a vs do jquery 1.7.2 ou inferior (rsrsr isso mesmos...) :
http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.js
minha programação funciona normalmente:
$.ui.jcoverflip.defaults = {
titleAnimateIn: function( titleElement, time, offset ){
if( titleElement.css( 'display' ) == 'none' ){
titleElement.css({opacity: 0, display: 'block'});
}
titleElement.stop( ).animate({opacity: 1}, time );
},
titleAnimateOut: function( titleElement, time, offset ){
titleElement.stop( ).animate( {opacity: 0 }, time, function(){
$(this).css('display', 'none');
} );
},controls: {
/**
* @param containerElement - the jQuery object for the jcoverflip
* @param length - the number of items
*/
create: nofn,
/**
* @param containerElement - the jQuery object for the jcoverflip
*/
destroy: nofn
},
current: 0
};
Porem quando eu coloca a vs superior do Jquery:
http://ajax.googleapis.com/ajax/libs/jquery/1.7.3/jquery.min.js
http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.js
Ele me apresenta o erro:
Erro: TypeError: this.options.titleAnimateIn is not a function
Arquivo-fonte: http://localhost:8080/meusite/wp-content/plugins/meupluginx/includes/jcoverflip/js/jquery.jcoverflip.js
Alguém poderia poderia me dar uma ajuda o pq disso?
abs
Mauricio
Discussão (2)
Carregando comentários...