You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm try to print list tables,
with next table, i'll break page
with table have many rows, i'll break page
and i want to count page number folow content of table
i'll count page by the end of table, not by the end of page
each table, i'll reset page number
ex:
<html><head><script>functionnumber_pages(){varvars={};varx=document.location.search.substring(1).split('&');for(variinx){varz=x[i].split('=',2);vars[z[0]]=decodeURIComponent(z[1]);}varx=['frompage','topage','page','webpage','section','subsection','subsubsection'];for(variinx){vary=document.getElementsByClassName(x[i]);for(varj=0;j<y.length;++j)y[j].textContent=vars[x[i]];}}</script></head><bodyonload="number_pages()">
Page <spanclass="page"></span> of <spanclass="topage"></span></body></html>
but it's my expect
can you help me do it?
many thanks
The text was updated successfully, but these errors were encountered:
VoTaiTri
changed the title
Page numbering folow content of page trouble
Page numbering folow content of page trouble use JavaScript
Dec 21, 2017
I'm try to print list tables,
with next table, i'll break page
with table have many rows, i'll break page
and i want to count page number folow content of table
i'll count page by the end of table, not by the end of page
each table, i'll reset page number
ex:
page1
content of table 1
1 (page number)
page2
content of table 1
end of table 1
2 (page number)
page3
content of table 2
end of table 2
1 (page number)
page4
content of table 2
end of table 2
2 (page number)
i folow https://github.com/mileszs/wicked_pdf#page-numbering and try to do
but it's my expect
can you help me do it?
many thanks
The text was updated successfully, but these errors were encountered: