Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('a#functionDescription').attr('title')
- $('a#functionDescription').qtip({
- content: {
- text: false
- },
- style: {
- width: 250,
- tip: 'leftMiddle',
- color: 'white',
- background: '#66CC33',
- name: 'green'
- },
- position: {
- corner: {
- target: 'topRight',
- tooltip: 'bottomLeft'
- },
- adjust: { x: 0, y: -25 }
- },
- events: {
- render: function(event, api) {
- //what to write here ?
- }
- }
- });
- content: {
- text: function() {
- return $(this).attr('title');
- }
- }
- $('a#functionDescription').qtip({
- content: {
- text: $(this).attr('title'); //Replace this with any element attributes
- },
- style: {
- width: 250,
- tip: 'leftMiddle',
- color: 'white',
- background: '#66CC33',
- name: 'green'
- },
- position: {
- corner: {
- target: 'topRight',
- tooltip: 'bottomLeft'
- },
- adjust: { x: 0, y: -25 }
- },
- events: {
- render: function(event, api) {
- //what to write here ?
- }
- }
- });
Add Comment
Please, Sign In to add comment