UNPKG

zurb-foundation-5

Version:

Foundation 5 for npm (no code modification from original repo)

15 lines (14 loc) 660 B
{{#markdown}} ```javascript $(document).foundation({ "magellan-expedition": { active_class: 'active', // specify the class used for active sections threshold: 0, // how many pixels until the magellan bar sticks, 0 = auto destination_threshold: 20, // pixels from the top of destination for it to be considered active throttle_delay: 50, // calculation throttling to increase framerate fixed_top: 0, // top distance in pixels assigend to the fixed element on scroll offset_by_height: true // whether to offset the destination by the expedition height. Usually you want this to be true, unless your expedition is on the side. } }); ``` {{/markdown}}