complete the observium plugin

This commit is contained in:
Oliver Gorwits
2013-06-02 15:30:26 +01:00
parent 66b3ced179
commit 798086ca29
10 changed files with 67 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
$(document).ready(function() {
// bind qtip2 even to all future .observium buttons
$('#ports_pane').on('mouseover', '.nd_observium', function(event) {
$(this).qtip({
overwrite: false,
content: {
attr: 'data-content'
},
show: {
event: event.type,
ready: true
},
position: {
my: 'left center',
at: 'right centre',
target: 'mouse'
},
style: {
classes: 'qtip-bootstrap nd_observium-style'
}
});
});
});