30/08/2011, 11:18:15 
		
	
	
		Bon j'ai testé, je suis bloqué à ce niveau :
Il doit y a un problème avec cette partie du code
car le reste fonctionne. Pour l'instant j'ai donc pas pu essayer ton code pour repérer la position du #.
	
	
	
	
	
Code :
$(document).ready(function(){
    $('a[href*=#]').click(function(){
            cible=$(this).attr('href');
            if($(cible).length>=1){
                hauteur=$(cible).offset().top;
            }        
        alert(hauteur);
    });
    
});Il doit y a un problème avec cette partie du code
Code :
cible=$(this).attr('href');
            if($(cible).length>=1){
                hauteur=$(cible).offset().top;
            }        
        alert(hauteur);car le reste fonctionne. Pour l'instant j'ai donc pas pu essayer ton code pour repérer la position du #.
