-
Ajax - combine Dynamic & Pagination to highlight correct page number
1) Script Title: Ajax Pagination script v1.2.2 & Dynamic Ajax Content
2) Script URL (on DD):
Ajax Pagination script v1.2.2
http://www.dynamicdrive.com/dynamici...nate/index.htm
Dynamic Ajax Content
http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) Describe problem:
I want to sync the scripts so correct page number(ajax pagination script) is highlighted when using drop down menu (dynamic ajax content script)
Both are calling the same external pages into same page/divider.
<div id="1"></div>
<div id="paginate-bottom"></div>
e.g When I choose Features from drop down menu I want page 2 to be highlighted.
Dynamic Ajax Content menu:
<a href="javascript:ajaxpage('features.html', '1')">Features</a></li>
Ajax Pagination - paginate-bottom:
<script type="text/javascript">
var bookon1={
pages: ["../membership.html", "../features.html"],
selectedpage: 0 //set page shown by default (0=1st page)
}
var mybookinstance=new ajaxpageclass.createBook(bookon1, "1", ["paginate-bottom"])
</script>
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks