Hi, the script below makes the page fade out upon clicks on links that have class="nav".
I would like to have the script ALSO activated in the same way for links that have class="home".
How would would do this? Is there such a thing as $('.nav & .home')??
Thanks
<script type="text/javascript">
$('.nav').click(function(){
var url = $(this).attr('href');
$('.mask').fadeIn('medium', function(){
document.location.href = url;
})
return false;
});
});