jQuery Tiny Highlighter
An extremely lightweight plugin to hightlight code in your page for generic purposes.
An extremely lightweight plugin to hightlight code in your page for generic purposes.
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>
}
$('#container').tinyHighlighter();
comments powered by Disqus