1 2 3 4 5 6 7 8 9 10 11
| $('.pointscles').click(function(){
$('#zonepointscles').show();
$('#zonepointscles').load("http://site.com/project-s/s-WP/points-cles-2", function() {
$('#txt_docs1, #txt_docs2, #txt_docs3, #txt_docs4').hide();
$('#titre_docs1').click(function(){ $('#txt_docs1, #txt_docs2, #txt_docs3, #txt_docs4').fadeOut(1000); $('#txt_docs1').fadeIn(1000); });
$('#titre_docs2').click(function(){ $('#txt_docs1, #txt_docs2, #txt_docs3, #txt_docs4').fadeOut(1000); $('#txt_docs2').fadeIn(1000); });
$('#titre_docs3').click(function(){ $('#txt_docs1, #txt_docs2, #txt_docs3, #txt_docs4').fadeOut(1000); $('#txt_docs3').fadeIn(1000); });
$('#titre_docs4').click(function(){ $('#txt_docs1, #txt_docs2, #txt_docs3, #txt_docs4').fadeOut(1000); $('#txt_docs4').fadeIn(1000); });
});
}); |
Partager