Jump to content
  • 0

Не работает самописный scrollTop в некоторых браузерах


AlexZaw
 Share

Question

Подскажите в чем может быть проблема, данный скрипт работает в FF 54, но работает только частично в Chrome 59, и Opera 45, причем в Opera 12.18 работает прекрасно.
В хроме и 45 опере не появляется кнопка "наверх" при прокрутке на высоту экрана или переходе по якорю, в лисе и старой опере все работает нормально.
("рыбный текст" был вырезан чтобы не занимать место)
скрипт:

  Reveal hidden contents

css:

  Reveal hidden contents

html:

  Reveal hidden contents

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy