Skip to content

Relates two Drupal views with a menu / content onepage navigation pattern

Notifications You must be signed in to change notification settings

storybynumbers/onepageview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

jquery.onepageView()

(not yet documented... coming soon!)

This jQuery plugin relates two Drupal Views together, one as the menu, the other as a long list of content. Clicking on a menu item will scroll the browser to the DOM element with a corresponding numbered class.

Requirements

  • jQuery.ScrollTo
  • jQuery.wayPoints
  • jQuery.easing.js

Sample usage

$().onepageViews({
	menu: ".view-id-navigation",
	content: ".view-id-maincontent"
});

Options

  • rowClass
  • rowItemPrefix
  • menu
  • content
  • wayPointOptions
  • scrollToOptions

About

Relates two Drupal views with a menu / content onepage navigation pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published