-
AuthorPosts
-
nyanginator Friend
nyanginator
- Join date:
- May 2014
- Posts:
- 8
- Downloads:
- 7
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 25, 2016 at 6:39 pm #868070Hi, this is in reply to my previous post "Doc Navigation affix-bottom doesn’t work" where Saguaros requested login info.
Basically, Document Navigation sidebar menu isn’t working as I expect. I setup a new test site, since I was working locally before. Thanks again.
nyanginator Friendnyanginator
- Join date:
- May 2014
- Posts:
- 8
- Downloads:
- 7
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 25, 2016 at 8:45 pm #868211Some more information, I realized that the jumpy behavior of the .doc-nav menu seems to happen when the window height is smaller than normal. I’ve been working with F12 (Debug window) open a lot, meaning the height is about half. See attached screenshot, where the .doc-nav menu jumped up to the very top of the document where it shouldn’t be.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
nyanginator Friendnyanginator
- Join date:
- May 2014
- Posts:
- 8
- Downloads:
- 7
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 27, 2016 at 8:46 am #869509Done. I copied and pasted the HTML exactly as in the tutorial.
Try resizing the window smaller in height (since the text is shorter now) and scrolling. The smaller the window height, the more the problem is apparent.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 28, 2016 at 3:09 am #870292We provide a way so that you can add the same navigation menu like our documentation page only, if you want to customise it with resized window, you have to customise it.
P/s: try to test in real device, resizing window sometimes brings incorrect result.
nyanginator Friendnyanginator
- Join date:
- May 2014
- Posts:
- 8
- Downloads:
- 7
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 28, 2016 at 4:40 am #870323Okay, but the problem still exists without resizing the window. The text just has to be long enough (which would be the only reason to have such a Doc Nav menu anyway). Look again at the page, where I’ve literally only extended the content in each section (otherwise it’s still the same as the Tutorial’s HTML code).
I have:
$nav.affix({ offset: { top: function () { return 200; // replace with your top position to start affix }, bottom: function () { return 300; // replace your bottom position to release the affix } } });
So I expect the menu to detach at 300px from the bottom, but it detaches much earlier up top, with barely any scrolling. No window resizing needed.
Any other ideas? Thanks again for your time.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
nyanginator Friendnyanginator
- Join date:
- May 2014
- Posts:
- 8
- Downloads:
- 7
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
January 31, 2016 at 5:35 pm #872883Well, there are no customizations on the test site I sent you. It’s a completely new install with the most recent Purity III Quickstart, so that’s why I was wondering if there was some part of Purity or the Quickstart package that was conflicting with Bootstrap’s normal affix behavior. But I’ll take another look at JED. Thanks!
1 user says Thank You to nyanginator for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 7 replies, has 2 voices, and was last updated by nyanginator 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Re: Doc Navigation affix-bottom doesn't work (login info)
Viewing 8 posts - 1 through 8 (of 8 total)