dmwhipp
12-10-2014, 02:21 AM
1) Script Title: Ajax Pagination Script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm
3) Describe problem: Issue with pagination Previous and Next
I've set the script up on a test page and think it will work perfectly for calling pages of news stories by year: http://www.cisfl.org/newstest.html. But after looking through the CSS and JS files, I cannot find any reference to the loading.gif image. Is this something that was perhaps removed during an update?
Also, I'm a bit confused about where I should add the coding for refresh. This is what I have on my test page:
<script type="text/javascript">
var newsarticles={
pages: ["/news/page2013.html", "/news/page2012.html"],
selectedpage: 0 //set page shown by default (0=1st page)
}
var mybookinstance=new ajaxpageclass.createBook(newsarticles, "bookcontent", ["paginate-top", "paginate-bottom"])
</script>
I'm not sure where to add this:
bookvarinstance.refresh(newsettingsvar)
Thanks,
Deborah
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm
3) Describe problem: Issue with pagination Previous and Next
I've set the script up on a test page and think it will work perfectly for calling pages of news stories by year: http://www.cisfl.org/newstest.html. But after looking through the CSS and JS files, I cannot find any reference to the loading.gif image. Is this something that was perhaps removed during an update?
Also, I'm a bit confused about where I should add the coding for refresh. This is what I have on my test page:
<script type="text/javascript">
var newsarticles={
pages: ["/news/page2013.html", "/news/page2012.html"],
selectedpage: 0 //set page shown by default (0=1st page)
}
var mybookinstance=new ajaxpageclass.createBook(newsarticles, "bookcontent", ["paginate-top", "paginate-bottom"])
</script>
I'm not sure where to add this:
bookvarinstance.refresh(newsettingsvar)
Thanks,
Deborah