Подскажите в чем может быть проблема, данный скрипт работает в FF 54, но работает только частично в Chrome 59, и Opera 45, причем в Opera 12.18 работает прекрасно.
В хроме и 45 опере не появляется кнопка "наверх" при прокрутке на высоту экрана или переходе по якорю, в лисе и старой опере все работает нормально.
("рыбный текст" был вырезан чтобы не занимать место)
скрипт:
<!doctype html><htmllang="ru"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><title>1</title><linkhref="css/styles.css"rel="stylesheet"></head><body><divclass="menu"><ahref="#anchor1">anchor1</a><ahref="#anchor2">anchor2</a><ahref="#anchor3">anchor3</a><ahref="#anchor4">anchor4</a></div><divclass="up"><span>Наверх</span></div><divclass="content"><h2id="anchor1">anchor1</h2><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h2id="anchor2">anchor2</h2><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h2id="anchor3">anchor3</h2><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h2id="anchor4">anchor4</h2><p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur
sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></div><scriptsrc="js/jquery-3.2.0.min.js"></script><scriptsrc="js/scripts.js"></script></body></html>
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.
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Портфолио https://www.behance.net/d4d4186e
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Актуальные контакты:
Telegram: @Nikker_web
E-Mail: tarasevich.email@gmail.com
Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ
Портфолио https://www.behance.net/d4d4186e
Question
AlexZaw
Подскажите в чем может быть проблема, данный скрипт работает в FF 54, но работает только частично в Chrome 59, и Opera 45, причем в Opera 12.18 работает прекрасно.
В хроме и 45 опере не появляется кнопка "наверх" при прокрутке на высоту экрана или переходе по якорю, в лисе и старой опере все работает нормально.
("рыбный текст" был вырезан чтобы не занимать место)
скрипт:
css:
html:
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.