There’s literally no way this is easier than the jQuery solution
-
$(“#button”).click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $(“#elementtoScrollToID”).offset().top
}, 2000);
});That’s how simple the jQuery is.
Now go read the 10 page tutorial on shortcodes and gutenberg to try and get this plugin to work. Better documentation is needed. An example like
- “Create div ID you want to scroll to”
- “Enter this code into a clickable element to scroll to that div ID”
done.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘There’s literally no way this is easier than the jQuery solution’ is closed to new replies.