jQuery Tiny Highlighter
An extremely lightweight plugin to highlight code in your page for generic purposes.
Quick Look
Here is how this plugins looks on the defaults options. You can fully customize it the want you want. Happy decorating :)
$totalPost = 50; // Dummy total post
$limit = 10;
$pages = $totalPost / $limit; // Giving 5
//Now we know there are five pages
for($i=1; $i<=$pages; $i++) {
echo $i; // Better echo something like <a href="link">$i</a>
}
How to use?
It is so easy
$('#container').tinyHighlighter();