Comments (5)
HI @markbattistella.
Should be easy enough to add, but I have some concerns about treating tabs as anchor links. Auto-scrolling a tab set to the top of the viewport means site visitors will arrive on a page without context for the tab content they are viewing.
Is the goal to allow navigating to directly to tab sets from other sites or to jump directly to tab sets from links in your own site docs?
from docsify-tabs.
I think it may have been a bug when I was doing it locally but on the live environment it works.
But the intention was that you would have the user be pointed into the tab, and then the heading without having to click in
from docsify-tabs.
@markbattistella Well, glad it's fixed! :)
Thanks for taking the time to file the PR. Much appreciated.
from docsify-tabs.
Hi @jhildenbiddle , thank you for developing and maintaining docsify-tabs
.
setActiveTabFromAnchor
is not working with routerMode: 'history', which use url query to mark an anchor instead of url hash.
so I just replace window.location.hash
with window.location.search
for my project.
I think there should be a conditional statement of routerMode in setActiveTabFromAnchor
function in index.js
.
from docsify-tabs.
Related Issues (20)
- Tabs not working in embedded markdown files HOT 1
- Feature request: collapsable tabs (by default) HOT 1
- [Bug] tabs not work when config homepage and basePath HOT 2
- Minor typos in docs
- Doesn't work on pages linked via `alias` HOT 7
- Tab titles aren't processed by the markdown compiler HOT 2
- Tab not working in my case HOT 2
- I need your help,using this plug-in, refresh, can not locate the exact location of the page HOT 1
- Can tabs add support for the chinese title? HOT 2
- File include support HOT 1
- Vue.css theme is not supported HOT 1
- Can tabs add support for Mustache template? HOT 3
- Wrong parse with escape chars HOT 1
- Tabs not rendering as tabs HOT 4
- access document link ‘?Id=xxx’ positioning problem HOT 1
- Tabs unselected when changing pages HOT 7
- Multiple tabs with same name changed together when one tab is clicked, how to change only one? HOT 1
- After [filename](README.md ':include'), the docsify-tabs plugin in README.md fails HOT 1
- Search Functionality in Tabs Tables HOT 1
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 docsify-tabs.