无法选择已加载的iframe [英] Cannot select iframe loaded
本文介绍了无法选择已加载的iframe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何选择即使已加载也无法选择的已加载iframe?
How can I select my loaded iframe that it can't be selected even it is loaded ?
在控制台中键入
var iframe = document.querySelector('iframe[src*="typeform"]');
返回未定义的
甚至显示从typeform加载的iframe。
It returns undefined Even my iframe which is loaded from typeform is shown .
预先感谢
这是一幅图片,用于解释更多我的问题
This is an image to explain more my question
typeform的按钮被卡在另一个上内部按钮,我想垂直移动字体的按钮
The buton of typeform is stuck on the other internal button , I want to move the button of the typeform a little bit vertically
推荐答案
我已经解决了问题,希望对您有所帮助
I have solved the problem , hope help someone
iframe[src*="typeform"] {
min-height: 94% !important;
max-height: 94% !important;
}
这篇关于无法选择已加载的iframe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文