M
M
MegaPuxapb2018-06-04 14:53:59
JavaScript
MegaPuxapb, 2018-06-04 14:53:59

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:
5b152700abbb5215580351.jpeg
After setting, like this:
5b1527890b8c8182373490.jpeg
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

2 answer(s)
M
Marty McFly, 2018-06-04
@MegaPuxapb

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?

A
Alexander Afanasiev, 2018-12-13
@Zuruastr

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 question

Ask a Question

731 491 924 answers to any question