<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="row-fluid" >
<div class="col-md-9">
<ul class="nav nav-pills">
<li class="active"><a href="#home" data-toggle="tab">AAAAAAAA</a></li>
<li><a href="#profile" data-toggle="tab">BBBBBBBB</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="home" style="background:#000;color:#FFF">
Here is the first piece.
</div>
<div class="tab-pane" id="profile" style="background:#FFFF00;color:#000">
Here is the second piece.
</div>
</div>
<div class="row-fluid" id="img">
<div class="col-md-6" style="background:#FFF0F5;color:#000">Left 1st</div>
<div class="col-md-6" style="background:#FFAEB9;color:#000">Left 2nd</div>
<div class="col-md-3" style="background:#FF6EB4;color:#000">Left 3rd</div>
<div class="col-md-9" style="background:#FF00FF;color:#000">left 4th</div>
<div id="readytoadd"></div>
</div>
<div class="row-fluid" >
<div class="col-md-6" style="background:#FFF0F5;color:#000">Left 1st</div>
<div class="col-md-6" style="background:#FFAEB9;color:#000">Left 2nd</div>
<div class="col-md-6" style="background:#FF6EB4;color:#000">Left 3rd</div>
<div class="col-md-6" style="background:#FF6EB4;color:#000">left 4th</div>
</div>
</div>
<div class="col-md-3" id="informationshow" style="background:#ADFF2F;color:#000">
I am right part.<br>
<button onClick='$("#img").toggle("fast")'>Animation</button>
<span class="label label-default" onMouseover='addLabel("label-default")'>Default</span>
<span class="label label-primary" onMouseover='addLabel("label-primary")'>Primary</span>
<span class="label label-success" onMouseover='addLabel("label-success")'>Success</span>
<span class="label label-info" onMouseover='addLabel("label-info")'>Info</span>
<span class="label label-warning" onMouseover='addLabel("label-warning")'>Warning</span>
<span class="label label-danger" onMouseover='addLabel("label-danger")'>Danger</span>
</div>
</div>
var count=0;
var temp;
function addLabel(label){
if(temp==label){
return;
}
temp=label;
var ss = document.getElementById("readytoadd").innerHTML;
if(count%30==0){
ss+= "<br>";
}
ss += '<span class="label '+label+'" id="label_'+count+'" onMouseover=\'addLabel("'+label+'")\'> </span>'
document.getElementById("readytoadd").innerHTML=ss;
var a = "#label_"+count;
//$(a).toggle("fast");
count++;
}