Youjoomla Support Forums (
-   JBootstrap (
-   -   Tabs with JBootstrap (

KingCobra 02-07-2014 05:14 AM

Tabs with JBootstrap

I'm want to learn and work with Bootstap more and more and trying out things.

Question is how to show different articles behind the tabs in an article?

So in my example (see link) in the article Tab Test I want to show different article behind every tab. How can I achieve that?

Or if that's not possible:
I can put the content of 3 articles in 1 article an then is the question:
How can I show different parts an article behind every tab.

Now I work with a 3rd party plugin for that, but I think it's possible with Bootstrap.
Foolowing your article Shortcodes I can make the tabs, but for me it was not clear how to get the content you want to show behind the tabs.

Best regards,


Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 2.5

MySQL Version: 5.x

PHP version: 5.x

Link to installation: Tab Test

Have you edited any files? If yes tell us which ones.: No

Is this personal or client website?: Personal

KingCobra 02-07-2014 09:17 AM

I made it work bij placing tabs in every article I want to show and changing the "active" class.


<ul class="nav nav-pills">
<li class="active">
<a href="index.php?option=com_content&view=article&id=1">News item 1</a>
<li><a href="index.php?option=com_content&view=article&id=2">News item 2</a>
<li><a href="index.php?option=com_content&view=article&id=3">News item 3</a>

Is this the way to do it? Or ??


All times are GMT -4. The time now is 04:14 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.