rommiei
1
I have div absolute object displaying in page 1 but I need to move it to another page based on certain condition to last or another page.
I tried this in Post Pagination script but not working
var queryFooter = query(“#ERAFooter”);
queryFooter.attr(“anchor”, “page_media_” + pageNo); // new page
merge.section.paginate();
Should that work or is there any other option?
Thanks
How about putting it on all your MasterPages and then conditionally show it based on a condition?
Erik
3
The following should do the trick. Note that the page_media_n is zero based (i.e. page 1 = page_media_0)
var queryFooter = merge.context.query("#ERAFooter");
queryFooter.attr("anchor","page_media_" + pageNo ); // new page
merge.section.paginate();
Hope this helps,
Erik