1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Pagenav can't can't 100+ pages, 1000+ looks worse

Discussion in 'Resolved Bug Reports' started by Cezz, Aug 31, 2010.

  1. Cezz

    Cezz Well-Known Member

    The pagenav is fixed width for what I can and from a discussion in IRC to make the fancy navigation work well, but once you get to 100+ pages the numbers start to look cramped and at 1000+ pages the numbers leave the box...

    See screenshot

    dutchbb, Brandon_R and Lucas like this.
  2. Brandon_R

    Brandon_R Guest

  3. Cezz

    Cezz Well-Known Member

    Another image to better show how bad it can get... once you get over 9999 pages it really gets ugly

  4. Floris

    Floris Guest

    This is a known issue, and it's acting as deliberately designed. So the js cycling between pages works without jumping around.
  5. Cezz

    Cezz Well-Known Member

    Though I can see how it is designed, it still needs to be fixed as the pagenav is used everywhere who about on forum pages were there can be 15k-20k pages of threads?? Flexable length wouldn't work because of how the js cycling works but fixed also won't work so this is something that needs further consideration and maybe some php side calculations on how wide those area's should really be.
  6. dutchbb

    dutchbb Well-Known Member

    Good find, definitely needs fixing.
  7. Dean

    Dean Well-Known Member

    The 'long thread' only has 75 pages at the moment, at least that is all I can see. Are those mock ups?
  8. James

    James Well-Known Member

    Probably just code edits :)
  9. Erik

    Erik Well-Known Member

    Yeah, for a second I was like, wow, a thousand pages, you guys really went to town! :p

    Anyways, I would think this would be fixable using some extra JavaScript logic to control the animation based on the width of the boxes, but I could be wrong. Honestly, I've never seen a 1000-page thread in my life, so I don't know if this is much of an issue. :)
  10. Cezz

    Cezz Well-Known Member

    You will get a forum with a 1000 pages though, some larger sites have forums with 15k+ pages so this is an issue...

    Just editing the html via an inspector, no need to mock up anything.
  11. dutchbb

    dutchbb Well-Known Member

    And are you sure it would also fail to work here, maybe they have coded it in a way that it shows a different image when the number is over 999?
  12. James

    James Well-Known Member

    Manipulating the image via an inspector would have the same effect as if there was actually 1000 pages (generally, anyway).

    Still, it's something to think about even if it isn't entirely accurate.
  13. Dean

    Dean Well-Known Member

    My belief is that something magical may happen when that long thread reaches 100 pages. :)
  14. Erik

    Erik Well-Known Member

    This is a good point. The page sliding mechanism may change when the thread/forum reaches 100 or 1000 pages, so this problem may not even occur. :)
  15. Kier

    Kier XenForo Developer Staff Member

    It does (now ;))
    Abomination and Ceri May like this.
  16. Dean

    Dean Well-Known Member

    You need a couple of pixels of padding on the right, I could show you a screen shot if you want.

    I thought the navigation method would change slightly when it reached 100 pages, it still slides 5 pages at a time.

Share This Page