Download the PHP package erdmannfreunde/onepage-navigation without Composer
On this page you can find all versions of the php package erdmannfreunde/onepage-navigation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download erdmannfreunde/onepage-navigation
More information about erdmannfreunde/onepage-navigation
Files in erdmannfreunde/onepage-navigation
Download erdmannfreunde/onepage-navigation
More information about erdmannfreunde/onepage-navigation
Files in erdmannfreunde/onepage-navigation
Vendor erdmannfreunde
Package onepage-navigation
Short Description This extension for Contao CMS adds a new type of navigation to create onepage navigations that are scrolled automatically.
License LGPL-3.0-or-later
Homepage https://github.com/ErdmannFreunde/contao-onepage-navigation
Package onepage-navigation
Short Description This extension for Contao CMS adds a new type of navigation to create onepage navigations that are scrolled automatically.
License LGPL-3.0-or-later
Homepage https://github.com/ErdmannFreunde/contao-onepage-navigation
Please rate this library. Is it a good library?
Informations about the package onepage-navigation
Onepage Navigation
Function
This extension for Contao Open Source CMS allows you to create a article navigation that can be used to build onepage navigations. It can be used just like a normal navigation but scrolls smoothly between the links within a page automatically rather than redirecting to another page.
Usage
- Each article has a new area where the onepage navigation settings can be edited
- Each article can be activated to be a navigation item
- a new frontend module needs to be created (type: 'Article navigation (Onepage)')
- place the module on the page (layout or as content element)
- activate
js_onepage_navigation.html5in your site layout
InsertTags
- {{scroll::[article-id]::[myCustomLinkTitle]}}
- [article-id] = article id this link should scroll to
- [myCustomLinkTitle] = text to be displayed as the link
- Example:
{{scroll::contact::Email us}}
Accessibility
- Enable Add skip link in the module to render a "Skip navigation" link before the list, just like the core navigation module. It is visually hidden until it receives keyboard focus, so your theme has to style
a.invisible:focus-visible. The option is disabled by default, because themes that style every link in the navigation (e.g.position: relative) would otherwise show the hidden link. - Use the field ARIA label to name the navigation landmark (e.g. "Main navigation"), especially if the page contains more than one
<nav>. - After a jump, the target article receives the focus (
tabindex="-1"is added if necessary), so keyboard and screen reader users continue reading there. - The active item gets
aria-current="location"in addition to theactiveclass. - Smooth scrolling is disabled when the visitor prefers reduced motion.
All versions of onepage-navigation with dependencies
PHP Build Version
Package Version
The package erdmannfreunde/onepage-navigation contains the following files
Loading the files please wait ...