Created
February 26, 2013 10:31
-
-
Save steffenr/5037524 to your computer and use it in GitHub Desktop.
Example Configuration for qtip - including custom class on qtip element.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example Configuration for qtip - including custom class on qtip element. | |
// Configure qTip. | |
$('.qtip-elem').each(function(){ | |
$(this).children('.qtip-ico').qtip({ | |
content: { | |
text: $(this).children('.qtip-cont').html() | |
}, | |
show: 'mouseover', | |
hide: 'mouseout', | |
style: { | |
width: 325, | |
classes: { | |
tooltip: 'qtip smb_tt', | |
active: 'smb_tt_active' | |
} | |
}, | |
position: { | |
corner: { | |
tooltip: 'leftMiddle', // Use the corner... | |
target: 'rightMiddle' // ...and opposite corner | |
} | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment