MediaWiki:Common.js: Unterschied zwischen den Versionen
Aus Altes Köln
Simon (Diskussion | Beiträge) (Tooltip-Styling, -Verhalten, -Positionierung) |
Simon (Diskussion | Beiträge) (Bootstrap-Styling für Tooltip) |
||
Zeile 11: | Zeile 11: | ||
}, | }, | ||
style: { | style: { | ||
− | + | def: false, | |
− | + | classes: 'qtip-bootstrap' | |
}, | }, | ||
position: { | position: { |
Version vom 18. August 2019, 21:28 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */ /* Tooltips */ $(function() { $('.ak-text-with-tooltip').each(function() { $(this).qtip({ content: { text: $(this).next('.ak-tooltip-text') }, style: { def: false, classes: 'qtip-bootstrap' }, position: { my: 'bottom center', at: 'top center' }, show: { event: 'click focus mouseenter', solo: true } }); }); });