Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs style #23

Open
davidg82 opened this issue Jul 19, 2018 · 1 comment
Open

Tabs style #23

davidg82 opened this issue Jul 19, 2018 · 1 comment

Comments

@davidg82
Copy link

Hi, when creating tabs in articles from the Joomla code, the classes "nav-item" in the "li" and "nav-link" in the "a" tag isn't showing. Thomething is preventing this, just to be sure when using anothers templates everithing is ok in my site.

<script type="text/javascript">
jQuery(function($){ $("#myTab a").click(function (e) {e.preventDefault();$(this).tab("show");});});
jQuery(function($){ $("#myTabTabs").append($("<li **class=\" active\">****<a** href=\"#display-intro\" data-toggle=\"tab\">Introduction<\/a><\/li>")); });
jQuery(function($){ $("#myTabTabs").append($("<li class=\"\"><a href=\"#display-lab\" data-toggle=\"tab\">R Center \\ Lab<\/a><\/li>")); });
</script>
@jwiesel
Copy link
Contributor

jwiesel commented Jan 3, 2020

Hi @davidg82,

  • are you trying to add html to a Joomla! article that contains a tab-navigation with hyperlinks? --> I assume this would not be related to the template.
  • Or are you trying to embed a menu module with a tab-style to your article? This should work by adding a "Menu Class Suffix" under the "Advanced" module settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants