I would like to implement smooth scrolling on my page made in drupal 6. I have a list of topics on top of the page. I would like the page to smooth scroll down direction to the topic. Can any point me how to do it in drupal 6? thank you
3 Answers
If the Scroll to Top module mentioned by @vgardner isn't to your liking, you might also look at integrating Ariel Flesler's jQuery.scrollTo plugin which may offer a lot more functionality out of the box.
Finally I picked one of many js scripts available on internet. Then put it into js file inside theme directory + added this to theme.php
function MYTHEME_preprocess_page(&$variables) { drupal_add_js('...'); $variables['scripts'] = drupal_get_js(); flush caches and it is working.