2012-03-08 71 views

回答

4
$('#portfolio').click(function(e){ 
    e.preventDefault(); 
    var href = $(this).attr('href'); 
    $('#bodyG').slideUp('fast', function() { 
    window.location = href; 
    }); 
}); 
+0

'e.preventDefault();',一個共同的罪魁禍首! :) – 2012-03-08 01:41:48

+0

謝謝老兄!很多 – 2012-03-08 01:42:32

+0

@AndersKitson不客氣:) – xdazz 2012-03-08 01:46:31