Comments (3)
Actually, I just did some reverse engineering through the code and found that changing:
deep_linking : false, to deep_linking : true,
at the top of assets\scripts\foundation\foundation.tab.js seems to have enabled deep linking!
Is this bad to have done/will break anything that you can think of?
If not, a suggestion would be to consider adding a parameter to the configuration array to enable this.
Here is the page I am using it on: https://mattbilsky.com/mediawiki/index.php?title=Impossible_Incorporated_LLC#Home
... it even seems to work with the domain I have forwarding to it (i.e. if you go to https://ImpossibleIncorporated.com#Consulting it will take you directly to the consulting page even though the domain only forwards to the mediawiki page). Pretty cool.
Otherwise, Pivot has been amazing!!! Keep up the great work!
from pivot.
Cool, but you are using Foundation 6 docs and Pivot is Foundation 5.
See https://stackoverflow.com/questions/20894632/deep-linking-foundation-5-tabs
and
https://foundation.zurb.com/sites/docs/v/5.5.3/components/tabs.html which contains a deep-link to a 3rd panel. Here is the code that makes it possible.
<ul class="tabs" data-tab="" role="tablist" data-options="deep_linking: true">
<li class="tab-title" role="presentational"><a href="#tabs-deeplink-1" role="tab" tabindex="0" aria-selected="false" controls="tabs-deeplink-1">Tab 1</a></li>
<li class="tab-title" role="presentational"><a href="#tabs-deeplink-2" role="tab" tabindex="0" aria-selected="false" controls="tabs-deeplink-2">Tab 2</a></li>
<li class="tab-title active" role="presentational"><a href="#tabs-deeplink-3" role="tab" tabindex="0" aria-selected="true" controls="tabs-deeplink-3">Tab 3</a></li>
</ul>
from pivot.
That makes sense...and works (I disabled my bodge and used that code).
Thanks for the quick reply! Hopefully this will help anyone with the same idea
from pivot.
Related Issues (20)
- Icons in navbar doesn't show in certain browsers HOT 40
- Sidebar text color ignored when highlighted in mobile HOT 1
- Mobile / small screen left menu is purple, not blue HOT 1
- Icons not supported in MW 1.35 HOT 2
- renderSidebar causing InvalidArgumentException HOT 1
- Off-canvas-menu only closing when clicked on icon HOT 1
- Vertical align of grids content HOT 3
- Font awesome for cyrillic HOT 1
- "Search for pages containing" not displayed
- Font size in Pivot 2.2.2/2.3.0 is larger than in 2.2.0
- User menu and actions menu not working
- Hardcoded /w/ folder in pivot.css leads to resource failure
- Incompatible with MW 1.38 - White screen HOT 8
- In what css is the background color for the pages? HOT 5
- Not Compatible with MW 1.34.1 - Error 500 (fresh install, no extensions) HOT 3
- Off canvas menu animates during page transition sometimes
- Mobile layout - Recent changes checkboxes HOT 2
- Title header color and text centering HOT 5
- [Enhancement] Left-menu search (on mobile widths only) doesn't auto-complete HOT 3
- Login and personal_urls HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pivot.