jquery - fullPage.js anchor scroll chrome bug -


i'm working on site: http://hopscotch.laurent.devops.montenasoft.com when click on hamburger menu (top right) -> hopscotch congress or our values (only these 2 configured) should scroll second section , works on firefox not on chrome.

there lot of js written in rush. of in http://hopscotch.laurent.devops.montenasoft.com/sites/all/themes/hopscotch/js/main.js

i can copy part think relevant not sure causes bug. if can point peace of code he/she thinks can cause bug lot...

part of js not written me try answer questions.

ps

it works on chrome when open new tab first 2 links.

update

the task create link page scrolls down section , changes slide specific slide. slide part working not scroll down part.

you not using anchors links in menu specified in fullpage.js docs or examples. calling url:

see difference:

new url

www.site.com/en?img=0#second

anchor link

www.site.com/#second

fullpage.js works anchor links.

the reason might work in firefox due way treat urls new parameters. might change in future @ point. not can rely on.

example available in fullpage.js docs:

<ul id="mymenu">     <li data-menuanchor="firstpage" class="active"><a href="#firstpage">first section</a></li>     <li data-menuanchor="secondpage"><a href="#secondpage">second section</a></li>     <li data-menuanchor="thirdpage"><a href="#thirdpage">third section</a></li>     <li data-menuanchor="fourthpage"><a href="#fourthpage">fourth section</a></li> </ul> 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -