Topic Closed
@ddwin
10 Posts
933 Downloads
1 Plugins

Hi Juergen,

 

I have installed the OnePage toolkit 1.0b5, Great feature!! But:

Is have created 3 wrappers with anchors, it will show in the source code like this:

When i use the scroll indicator and select the last anchor, it will make that Anchor active, but automaticaly it will flip 
the previous section "isActive".

What can be wrong?

 

Hope to hearn from you soon.

Regards,

@ddwin

 

10 months ago#11243

@ddwin
10 Posts
933 Downloads
1 Plugins

For example see https://happyalps.nl/test

10 months ago#11244

juergen
1.4K Posts
51.3K Downloads
16 Plugins
design, web development & visual effects

What can be wrong?

Lots, LOL.

Seriously, OPTK is still a strange thing as such and I always have to tweak it a bit, everytime I use it myself.

Your issue *could* be related to a feature that allows to set a very last (and small) section active without being able to scroll down far enough to make it qualify for that role.

You could try to comment some lines between 253 and 260 in OnePageToolkit.js (see below) and see what happens then:

/*
    var maxScrollTop = Math.max( $(document).height() - window.innerHeight );

    if( ($(window).scrollTop() + (screenHeight - scopeHeight) / 2) >= maxScrollTop ){
      // if the window is scrolled "almost" to the max (we again use the "scope" area), make the last section in scope "active"
      var activeSection = sections.filter(".section-inScope").last();
    }else{
*/
      // otherwise (normal case) we make the first section in scope "active"
      var activeSection = sections.filter(".section-inScope").first();
/*    } */

 

Edited: 10 months ago#11245

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register