-
AuthorPosts
-
May 17, 2014 at 12:11 am #266032
Is there any way to use the JS behind the scroll-top-link button for other navigation? I have jump links in an accordion slider at the top of my page, but the action is abrupt.
Thanks
May 18, 2014 at 2:59 pm #266306Hey philfm!
Thank you for using the theme!
Do you mind if we take a look at the actual page? They should have the same speed because any anchor links utilize the scrollspy script.
Cheers!
IsmaelMay 18, 2014 at 4:20 pm #266322This reply has been marked as private.May 18, 2014 at 7:04 pm #266386Hey Phil!
Try adding to your theme functions.php (at the end):
function apply_smoothscroll_to_all_links(){ ?> <script type="text/javascript" charset="utf-8"> jQuery(window).load(function(){ jQuery('a[href*=#]').avia_smoothscroll("body"); }); </script> <?php } add_action('wp_footer', 'apply_smoothscroll_to_all_links');Cheers!
JosueMay 19, 2014 at 4:34 am #266629This reply has been marked as private.May 19, 2014 at 8:22 am #266657Hi!
Try changing the URL from:
http://mckeown.marketing/#messageto
#messageBest regards,
JosueMay 19, 2014 at 3:03 pm #266812This reply has been marked as private.May 19, 2014 at 5:13 pm #266854Hmm, it’s weird because i tried it on my install and it did work fine, can you create an administrator account and post it here as a private reply?
Cheers!
JosueMay 20, 2014 at 1:49 am #267090This reply has been marked as private.May 20, 2014 at 2:32 am #267104Hey!
Everything was fine, except for the page structure, you needed to set the ID in the respective Color Section, i already did it for #research:
http://mckeown.marketing/
http://mckeown.marketing/wp-admin/post.php?post=9&action=edit&message=1Documentation:
http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/Cheers!
JosueMay 20, 2014 at 2:34 am #267105Many thanks for your support on this Josue.
May 20, 2014 at 2:35 am #267106You are welcome, glad we could help :)
Regards,
Josue -
AuthorPosts
- The topic ‘Using scroll-top-link for other navigation’ is closed to new replies.
