Scrollto an element on home page with Custom JS
My web page is at http://rosaluca.wpengine.com/.
I'm trying to figure out how to do scrollto link in an image box. How do you edit id tags of link in an image box?
The reason for this is to create a scrollto an element on the home page so when you click on it, instead of going directly to an element on the home page, it scrolls to the element on the home page. Let me know if you need the log in info to see what changes we've made or custom CSS was used.
Here's what I'm using at this point:
var aTag = $("a[name='"+ aid +"']");
where the #link is the id of the link that I'd like to edit, so that I can scroll to different elements or ids.
we do not use any JS for that. Please take a look into doc http://themes.muffingroup.com/betheme/documentation/#menu where we explained how to use "One page menu" feature.