mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
45 lines
797 B
JavaScript
45 lines
797 B
JavaScript
var qtip_position = {
|
|
my: 'top center',
|
|
at: 'bottom center'
|
|
};
|
|
|
|
$(document).ready(function() {
|
|
$('table.license ul.required li').qtip({
|
|
content: {
|
|
text: false,
|
|
title: {
|
|
text: 'Required'
|
|
}
|
|
},
|
|
position: qtip_position,
|
|
style: {
|
|
classes: 'qtip-shadow qtip-required'
|
|
}
|
|
});
|
|
|
|
$('table.license ul.permitted li').qtip({
|
|
content: {
|
|
text: false,
|
|
title: {
|
|
text: 'Permitted'
|
|
}
|
|
},
|
|
position: qtip_position,
|
|
style: {
|
|
classes: 'qtip-shadow qtip-permitted'
|
|
}
|
|
});
|
|
|
|
$('table.license ul.forbidden li').qtip({
|
|
content: {
|
|
text: false,
|
|
title: {
|
|
text: 'Forbidden'
|
|
}
|
|
},
|
|
position: qtip_position,
|
|
style: {
|
|
classes: 'qtip-shadow qtip-forbidden'
|
|
}
|
|
});
|
|
}); |