|
|
|
@ -56,7 +56,7 @@
|
|
|
|
|
<br />
|
|
|
|
|
<p> It's a plugin that make it possible for any button to float on it's parent div
|
|
|
|
|
</p>
|
|
|
|
|
<button value="test" class="magicBtn hero"><a href="#example"><i class="icon-chevron-down"></i></a></button>
|
|
|
|
|
<button class="magicBtn hero"><a href="#example"><i class="icon-chevron-down"></i></a></button>
|
|
|
|
|
<button class="magicBtn hero"><a href="http://twitter.com/share?url=http://sp4ke.github.com/bootstrap-magic-button/&text=Bootstrap magic buttons @ChakibBenz&count=horiztonal" target="_blank" rel="nofollow"><i class="icon-retweet"></i></a></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -179,8 +179,8 @@
|
|
|
|
|
<br />
|
|
|
|
|
<div class="well span3">
|
|
|
|
|
<p>Just put the icons inside the button</p>
|
|
|
|
|
<button value=" pin" class="magicBtn icon" data-toggle-text=" unpin" data-toggle="magicBtn"><i class="icon-search"></i></button>
|
|
|
|
|
<button value=" user" class="magicBtn icon"><i class="icon-user"></i></button>
|
|
|
|
|
<button class="magicBtn icon" data-toggle-text=" unpin" data-toggle="magicBtn"><i class="icon-search"></i></button>
|
|
|
|
|
<button class="magicBtn icon"><i class="icon-user"></i></button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
@ -284,7 +284,7 @@
|
|
|
|
|
$('.hover').magicBtn({hover: true});
|
|
|
|
|
$('.hover').magicBtn('show');
|
|
|
|
|
|
|
|
|
|
$('.icon').magicBtn({hover: true, alignment: 'top', hoverText:true});
|
|
|
|
|
$('.icon').magicBtn({hover: true, alignment: 'top'});
|
|
|
|
|
$('.icon').magicBtn('show');
|
|
|
|
|
|
|
|
|
|
$('.well .magicBtn').magicBtn('show');
|
|
|
|
|