Simple Callback Overlay

More
6 years 4 months ago - 6 years 4 months ago #7579 by Юрий Сандырев
Добрый день, пытаюсь открыть оверлей через кнопку, у меня прокручивает сайт в самый верх, а оверлей окошко открывается там где и кнопка, такое ощущение что кнопка применяет функции "наверх" и одновременно открытие окна в оверлее. использую билдер yootheme. Создал отдельный модуль с оверлеем, выставил на позицию, в билдере создал кнопку и где ссылка вставил #simplecallback-100, как бы всё в принципе открывается, но почему сайт начинает прокручивать вверх, как этого избежать подскажите?
сайт - net5g.ru в самом низу слайдер и кнопка "Хочу похожее", попробуйте нажать.

P.S. если создаю в билдере просто html ссылку, то открывает как надо, включается оверлей и окошко падает сверху. Можно попробовать на 3 блоке после преимуществ. Кнопка через билдер и просто html. Кстати когда закрываешь окно и пробуешь еще раз вызвать форму через оверлей, то нормально срабатывает. Возможно есть какой то трюк ? )
Last edit: 6 years 4 months ago by Юрий Сандырев.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7581 by Евгений Копылов
Добрый.скорей всего сама форма глубоко во вложенности размещена. Попробуйте вставить в видимой части. Может футер.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7583 by Юрий Сандырев
Сейчас поставил модуль формы в позицию header и ничего. Так же прокручивает.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7586 by Евгений Копылов
Я понял, в общем измените свое:
<a class="el-content uk-button uk-button-default" href="#simplecallback-96" uk-scroll>
 
                                Оставьте заявку                
            </a>

на
<a class="el-content uk-button uk-button-default" href="#" data-simplecallback-open="96">
    Оставьте заявку      
</a>
 
The following user(s) said Thank You: Юрий Сандырев

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7601 by Юрий Сандырев
Спасибо! Помогло ;)

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #7602 by Евгений Копылов
Отлично) если будет возможность - донат форма в модуле)

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • gotopbestblogger
    •   In it for the long run, during 2024 Nexon has taken the web3 extension of its MapleStory IP not just wider, but also deeper. Garnering 400,000 users during a single day in its latest MapleStory N playtest showcases Nexon’s growing understanding on sustainable ecosystem building. The release of its NXPC token model makes MapleStory Universe users even more excited about where the project is heading as we’re on the verge of a new year.
    • In Plugins Joomline / JL Comments / JL Comments PRO
    • voip phone
    • One day, a monkey drove his car near a lake. Sudden, he saw a tiger under a tree. The tiger saw him, too. The tiger ran very fast at the monkey. The monkey was very afraid and he and his car fell into the lake. The monkey couldn't swim and he shouted. A rabbit came and he jumped into the lake. The abbit swam to the monkey but did not help him. Both of them shouted forhelp. Luckily, a giraffe came along. He was very tall. He helped the rabbit and the monkey.  
    • In Component / JL Mail
    • bloggingaboutanythingonline
    • One day, a monkey drove his car near a lake. Sudden, he saw a tiger under a tree. The tiger saw him, too. The tiger ran very fast at the monkey. The monkey was very afraid and he and his car fell into the lake. The monkey couldn't swim and he shouted. A rabbit came and he jumped into the lake. The abbit swam to the monkey but did not help him. Both of them shouted forhelp. Luckily, a giraffe came along. He was very tall. He helped the rabbit and the monkey.  
    • In Component / JL Mail
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.