Comments (3)
Hi @reissmann,
i have implemented in develop branch this feature. This is a sample page to test:
[[#tab-foo|Test Foo]] -- [[#tab-bar|Test Bar]]
----
<tabs>
* [[#tab-foo|Foo]]
* [[#tab-bar|Bar]]
<pane id="tab-foo">
=== Foo ===
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</pane>
<pane id="tab-bar">
=== Bar ===
Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</pane>
</tabs>
from dokuwiki-plugin-bootswrapper.
Exactly what I needed. Thank you!
There is one minor issue. When you click on a link like the following, the correct tab is shown and location.hash is added to the url in the address bar.
[[#tab-foo|Foo]]
However, if you click on a tab, the URL stays the same, preventing the link from working a second time.
In your example:
- Load the page
- Click on the link [[#tab-bar|Test Bar]]
- Click on the Foo-Tab
- Click on the link again (will not work)
This is, however, a very uncommon usecase, as most of the time one will link from one page to another.
from dokuwiki-plugin-bootswrapper.
Hi, this is a normal behavior of Bootstrap to prevent a page scrolling when click on tab link.
from dokuwiki-plugin-bootswrapper.
Related Issues (20)
- Javascript Problems after hogfather update HOT 1
- Minor Cosmetic Issues with Latest Release HOT 2
- Icons don't align with Tabs
- Nav Tabs not displaying properly HOT 2
- Text "align" does not work HOT 1
- include fontIconPicker
- Dont'work properly with Argon theme
- Accordion 'collapsed' attribute not working
- Tab pane / Internal link / TOC
- how to use icon options in panel title ?
- PHP fatal error. White screen when loading page which has bootstrap wrapper objects.
- Progress bar with conditionnal color HOT 1
- Error on page start when using panels
- igor compatibility: missing EDIT_FORM_ADDTEXTAREA ? HOT 1
- Icons plugin is blank
- Some plugin features does not work as expected
- Tooltip works, but an error appears in the error log on mouse-over activation (Safari) DokuWiki 2023-04-04 "Jack Jackrum" HOT 3
- bootstrap.php warning in simplexml_load_string()
- Random CSS id selector sometimes starts with a number - which is forbidden HOT 1
- PHP 8 support 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 dokuwiki-plugin-bootswrapper.