Answer the question
In order to leave comments, you need to log in
Strange site behavior when installing Yandex metrics?
By clicking on take the test, the page with the test is loaded by iframe.
q665588f.beget.tech/1/index.html
Before setting the metric, it looks like this:
After setting, like this:
The reason is apparently that the left styles are loaded.
Highlighted in red in console.
How to fix?
Answer the question
In order to leave comments, you need to log in
Well, as a crutch, you can kill the height with an importer. And so you have to understand. The frame has a very narrow metric name. Did you register this or does the metric insert?
Why do you need a frame at all?
In the fancybox script, you need to specify the $('.fancybox-iframe') selector. instead of $('iframe'). helped me.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question