<script src="js/jquery.paginate.js" type="text/javascript"></script>
<script type="text/javascript">
\$(function() {
\$("#demo2").paginate({
count : $pagenum,
start : $current_page,
onChange : function() {return true;}{
\$('vieword2.pl?page=')};,
display : 28,
border : false,
text_color : '#888',
background_color : '#EEE',
text_hover_color : 'black',
background_hover_color : '#CFCFCF'
});
});
</script>
$.fn.paginate.defaults = {
count : 5,
start : 12,
display : 5,
border : true,
border_color : '#fff',
text_color : '#8cc59d',
background_color : 'black',
border_hover_color : '#fff',
text_hover_color : '#fff',
background_hover_color : '#fff',
rotate : true,
images : true,
mouse : 'slide',
onChange : function(){return true;}
};
Here is the link to the website where I downloaded it from : http://tympanus.net/codrops/2009/11/17/jpaginate-a-fancy-jquery-pagination-plugin/
Please help,