0

is possible to add these files http://alvarotrigo.com/blog/fullpage-jquery-plugin-for-fullscreen-scrolling-websites/ in a theme? I created from scratch and from Zen without success. some how i think the jquery and javascript files are not active.

thanks

2
  • my info file codestylesheets[all][] = css/examples.css stylesheets[all][] = css/jquery.fullPage.css scripts[] = js/jquery.fullPage.jscode
    – peter
    Mar 23, 2014 at 1:02
  • Does the jquery.fullpage.css link work for you? Mar 23, 2014 at 3:04

1 Answer 1

1

Copy the plugin on your subtheme's folder like "plugins/fullpage/".

Edit subtheme.info file adding:

stylesheets[all][] = plugins/fullpage/jquery.fullPage.css scripts[] = plugins/fullpage/jquery.fullPage.min.js

Check if you need to add the other js files like vendor/jquery.easings.min.js, jquery.slimscroll.min.js...

It seems that the plugin needs jQuery 1.9.1 so https://drupal.org/project/jquery_update may be helpful

More info about the plugin: https://github.com/alvarotrigo/fullPage.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.