hover text shows with icon

TODO: update doc
master
Chakib (spike) Benziane 12 years ago
parent ee232b3a7e
commit fc9d3aad2b

@ -284,7 +284,7 @@
$('.hover').magicBtn({hover: true});
$('.hover').magicBtn('show');
$('.icon').magicBtn({hover: true, alignment: 'top'});
$('.icon').magicBtn({hover: true, alignment: 'top', hoverText:true});
$('.icon').magicBtn('show');
$('.well .magicBtn').magicBtn('show');

@ -176,7 +176,7 @@ function ($) {
var o = obj.options
if (!obj.$isToggled) {
if (o.hoverText){
$(this).find('i').hide()
//$(this).find('i').hide()
$('<span class="value">' + $(this).attr('value') + '</span>').
hide().appendTo($(this)).fadeIn()
}

@ -176,7 +176,7 @@ function ($) {
var o = obj.options
if (!obj.$isToggled) {
if (o.hoverText){
$(this).find('i').hide()
//$(this).find('i').hide()
$('<span class="value">' + $(this).attr('value') + '</span>').
hide().appendTo($(this)).fadeIn()
}

Loading…
Cancel
Save