moxsum
10-20-2008, 07:02 AM
1) Script Title: Ajax Paginate
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/
3) Describe problem:
Ok, so the script works fine when i have multiple pages. But If I just have 1 page listed, nothing shows in firefox.. but it still shows in IE/safari.
http://www.abcarcade.com/drop-sum.html
go to the comments section, thats where im using the script, you should see comments in IE/Safari, but nothing shows in firefox.
Here is the code im using:
<script type="text/javascript">
var bookonflowers={
pages: ["http://www.abcarcade.com/gamecomments.php?id=1814&pagenum=1"],
selectedpage: 0
}
var mybookinstance=new ajaxpageclass.createBook(bookonflowers, "bookcontent", ["paginate-top", "paginate-bottom"])
</script>
im using php to dynamically create a list of urls. It works if I have more then 1 page listed, but if theres only been 1 comment for example, so theres only 1 comment page, it wont show.
Please help me!
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/
3) Describe problem:
Ok, so the script works fine when i have multiple pages. But If I just have 1 page listed, nothing shows in firefox.. but it still shows in IE/safari.
http://www.abcarcade.com/drop-sum.html
go to the comments section, thats where im using the script, you should see comments in IE/Safari, but nothing shows in firefox.
Here is the code im using:
<script type="text/javascript">
var bookonflowers={
pages: ["http://www.abcarcade.com/gamecomments.php?id=1814&pagenum=1"],
selectedpage: 0
}
var mybookinstance=new ajaxpageclass.createBook(bookonflowers, "bookcontent", ["paginate-top", "paginate-bottom"])
</script>
im using php to dynamically create a list of urls. It works if I have more then 1 page listed, but if theres only been 1 comment for example, so theres only 1 comment page, it wont show.
Please help me!