Basati Naveen Basati Naveen - 1 year ago 154
CSS Question

bootstrap dynamic pills not working

I am trying to develop an incident management and was creating a page using bootstrap. I have taken the example from bootstrap dynamic tabs

The issue is that when I am clicking on the menus it is not working. It is not showing the content for the menus

<!DOCTYPE html>
<html lang="en">

<title>Bootstrap Case</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="bootstrap-3.3.4-dist/css/bootstrap.min.css">
<script src="jquery.min.js"></script>
<script src="bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>


<div class="container">
<h2>Dynamic Tabs</h2>
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#home">Home</a>
<li><a data-toggle="tab" href="#menu1">Menu 1</a>
<li><a data-toggle="tab" href="#menu2">Menu 2</a>
<li><a data-toggle="tab" href="#menu3">Menu 3</a>

<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<div id="menu1" class="tab-pane fade">
<h3>Menu 1</h3>
<p>Incident 1</p>
<div id="menu2" class="tab-pane fade">
<h3>Menu 2</h3>
<p>Incident 2</p>
<div id="menu3" class="tab-pane fade">
<h3>Menu 3</h3>
<p>Incident 3</p>



Please help me out guys!!!!

Answer Source

Check out your links I just copy your code to a jsfiddle and it works fine I added to jsfiddle the correct links:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="">

<!-- jQuery library -->
<script src=""></script>

<!-- Latest compiled JavaScript -->
<script src=""></script>

Check out the working jsfiddle

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download