Category Archives: Blog

simple responsive tabs jquery

Prev

1st

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text.

2nd

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text.

3rd

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text.

4rd

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text.

HTML

<div id="simple-responsive-tab-jquery"><ul class="tab">
<li class="active"><a href="#tab1">1st</a></li>
<li><a href="#tab2">2nd</a></li>
<li><a href="#tab3">3rd</a></li>
<li><a href="#tab4">4th</a></li>
</ul>
<div id="tab1" class="tab active">
<h1>1st</h1>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text. </div>
<div id="tab2" class="tab none">
<h1>2nd</h1>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text. </div>
<div id="tab3" class="tab none">
<h1>3rd</h1>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text. </div>
<div id="tab4" class="tab none">
<h1>4rd</h1>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text. </div></div>

CSS


#simple-responsive-tab-jquery ul.tab {
padding: 0;
margin: 0px;
}
#simple-responsive-tab-jquery ul.tab li {
display: inline-block;
list-style: outside none none;
width: 24.7%;
}
#simple-responsive-tab-jquery ul.tab li a {
padding: 13px 0;
text-align: center;
font-weight: bold;
background: #454545 none repeat scroll 0 0;
color: #fff;
text-decoration: none;
display: block;
}
#simple-responsive-tab-jquery ul.tab li.active a {
background: #cb0000 none repeat scroll 0 0;
}
#simple-responsive-tab-jquery div.tab {
background: #111;
padding: 10px;
margin-bottom:50px;
color:#fff;
}
#simple-responsive-tab-jquery div.tab.none {
display:none;
}
.clear {
clear: both;
}
#simple-responsive-tab-jquery div.tab.active {
border: 2px solid #cb0000;
}

JS


$(document).ready(function(){
$("#simple-responsive-tab-jquery ul.tab li a").click(function(event){
event.preventDefault();
$(this).parent().addClass("active");
$(this).parent().siblings().removeClass("active");
var tab = $(this).attr("href");$("div.tab").not(tab).css("display", "none");
$(tab).fadeIn().addClass("active");
});
});

Bootstrap Alerts

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

Prev

HTML


<div class="alert-group">
<div class="alert alert-success alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong>Well done!</strong> You successfully read this important alert message.
</div>
<div class="alert alert-info">
<strong>Heads up!</strong> This alert needs your attention, but it's not super important.
</div>
<div class="alert alert-warning alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong>Warning!</strong> Better check yourself, you're not looking too good.
</div>
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<strong>Oh snap!</strong> Change a few things up and try submitting again.
</div>
</div>

WP eCommerce

VIEW DOWNLOAD

WP eCommerce is a free, powerful plugin that empowers you to sell anything online, quickly and easily.

Since 2006, we’ve been helping entrepreneurs just like you realize their goal of selling online. Whether you’re hoping to sell digital downloads, physical inventory, or subscriptions and memberships – with WP eCommerce, you’re only minutes away from your next sale.