View Single Post
Old 08-11-2015, 01:07 PM   #5
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
that works, thanks again

btw just needed to remove a space between .inner HTML for it to work, and looks like the two numerical values need to be the same for the first printed number to be 1, eg the following makes page 4 show as 1

Code:
<p id="pagenum" style="text-align:center;"></p><script>document.getElementById("pagenum").innerHTML = (_PAGENUM_ > 3) ? ("" + (_PAGENUM_ - 3)) : ""</script>
and noworries about the roman numerals, youve been a great help already

Last edited by ni_c; 08-11-2015 at 01:13 PM.
ni_c is offline   Reply With Quote