2.0.14 • Published 11 years ago

docpad-plugin-iconmonstrtipsy v2.0.14

Weekly downloads
48
License
-
Repository
github
Last release
11 years ago

iconmonstr + tipsy for DocPad

via Eco functions

Alt text

Function: getIconmonstrTipsyBlock(iconName,'iconId,iconClass,tipsy`)

Real world example: <%- @getIconmonstrTipsyBlock('globe','iconmonstr-head-id','cool-class','data-placement="right" data-content="Some more content here. This is my second tooltip."') %>

Required

Have the following in your /scripts/script.js file or in it's own YUI javascript file:

YUI({
        gallery: 'gallery-2013.03.27-22-06'
    }).use('gallery-tipsy','gallery-popover', function (Y) { 
        //Y.Popover is loaded and good to go.

     var tipsy = new Y.Tipsy({
        selector: "[rel='tipsy']"
    });

    tipsy.render(); 
});

YUI 3 is a dependency for this plugin so no need to also load YUI as a script in docpad.coffee's scripts: [] or otherwise.

2.0.14

11 years ago

2.0.13

11 years ago

2.0.12

11 years ago

2.0.11

11 years ago

2.0.10

11 years ago

2.0.9

11 years ago

2.0.8

11 years ago

2.0.7

11 years ago

2.0.6

11 years ago

2.0.5

11 years ago

2.0.4

11 years ago

2.0.3

11 years ago

2.0.2

11 years ago

2.0.1

11 years ago

2.0.0

11 years ago