fixedBox jQuery plugin
Par Jean-François, lundi 30 juillet 2007 à 22:04 :: Dev :: #134 :: rss
fixedBox is a lightweight jQuery plugin that allows you to display a fixed box in the web page.
The box is centered by default, but you can also define the left and/or top positions.
Look at a fixedBox example.
Usage:
centered:
$('div.message').fixedBox();
left = 200px, top = 100px:
$('div.message').fixedBox({x: 200, y: 100});
Note: you'll need to set the width and height of the matched nodes (e.g. in your CSS, see the styles in the provided example), in order to correctly center them.
Tested with jQuery 1.1.3.1, Firefox 1.5+, Opera 9.0+, MSIE 6.0+. Should also work with Safari 2.0+.
Download fixedBox.
Download fixedBox packed.
License: MIT/GPL.
Commentaires
1. Le mardi 31 juillet 2007 à 12:52, par Vinch
2. Le mardi 31 juillet 2007 à 21:49, par Jean-François
3. Le vendredi 3 août 2007 à 17:09, par Vinch
4. Le samedi 25 août 2007 à 11:40, par manu
Ajouter un commentaire
Les commentaires pour ce billet sont fermés.