Skip to content

Instantly share code, notes, and snippets.

@kmelkon
Created August 1, 2013 08:15
Show Gist options
  • Save kmelkon/6129443 to your computer and use it in GitHub Desktop.
Save kmelkon/6129443 to your computer and use it in GitHub Desktop.
$(function(){
$('.inline').colorbox({
inline:true,
width:"50%",
});
$(".contact-card:even").addClass("pull-left");
$(".contact-card:odd").addClass("pull-right");
$(".deal:even").addClass("background-gray deal-padding");
$('#company-tab a').click(function (e) {
e.preventDefault();
$(this).tab('show');
});
$('#go-to-deals').click(function() {
$('#company-tab a[href="#go-to-deals"]').tab('show');
});
$('#go-to-contacts').click(function() {
$('#company-tab a[href="#go-to-contacts"]').tab('show');
});
$('#go-to-activities').click(function() {
$('#company-tab a[href="#go-to-activities"]').tab('show');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment