Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed height vertical thumb nav #554

Open
pixiemediaweb opened this issue Sep 5, 2019 · 0 comments
Open

Fixed height vertical thumb nav #554

pixiemediaweb opened this issue Sep 5, 2019 · 0 comments

Comments

@pixiemediaweb
Copy link

Hi, trying to figure out a way to fix the height of a veritcal thumb nav - ie override the height of the actual stage.

I have found a way to override the height within this function;

that.resize = function (options) {
.....
switch (opts.navdir) {
case 'vertical':
$navWrap.removeClass(navShafthorizontalClass);
$navWrap.removeClass(navShaftListClass);
$navWrap.addClass(navShaftVerticalClass);

                            $nav
                                .stop()
                                //.animate({height: measures.h, width: opts.thumbwidth}, time);
						        // ADDED HERE - OVERRIDE HEIGHT
							    .animate({height: 320, width: opts.thumbwidth}, time);
                            break;

This sets the height and position of the up/down arrows correctly - however if you have more thumbnail than the visible height, as you scroll through it doesnt move the nav shaft to reveal the extra thumbnails until it reaches the natural point it would normally scroll at (just beyond 50% of the stage height).

What is the correct way to force the vertical nav height?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant