I am trying to make a div to be an HREF. I have done it by using javascript...
var about = $('#about');
about.click(function(){
$(location).attr('href', '#quienes-somos');
});
So when I click the "about" div, I can go to the "quienes-somos" div.
However, I need to give the link a scroll effect. I was doing some research and I found that I could use the animate()
method of jQuery, but I didn't really find out how to apply it to my script.
Thanks so much for any help you can give me!
Mauricio