I supose that the module jquery_update it must be installed before I installed jquery_scrollto, true?
I extract jquery.scrollTo.js in /jquery_scrollto/jquery and in the node I will use, I put

jquery_scrollto_plugin_add();

Last I do:

Company
....
...

Company

and not function.

¿what is the problem?

Thanks in advance.

Comments

benone’s picture

the same question here

where should I use this function ?

i'd like to use it after page is loaded - > then scroll to some #id element

could you answer ? thanks

Anonymous’s picture

in the jquery folder within the scrollto module folder, make sure your file name is: jquery.scrollTo-min.js

and in your template.php file, make sure you include this:

function TEMPLATENAME_preprocess_page(&$variables) {
  
  jquery_scrollto_plugin_add();
  
}
miccelito’s picture

Very confusing module tho, there's lack of documentation. Also non-valid link for required plugin.