Skip to content

Tag: iframe

Rails vuejs get height of iframe element

I am using vuejs with rails webpacker and turbolinks. I want to calculate the correct height of the iframe element on the initial page load. Currently, I am getting the height of the element when I manually refresh the page, and when someone navigates from any other pages to the page where the iframe element …

Hide custom cursor when mouseover on iframe

I am struggling trying to find out how to hide my custom cursor when it’s over an iframe. I designed a custom cursor but it works fine in all the web sections. However, when it goes over he Vimeo iframe, the mouse stay at the edge of the iframe and shows the default web browser cursor. I think the easie…

How to find valid links for iframes?

If I use this code line: The browser will deny the access to the website. But if I use this src, suddenly it works : I saw already couples of websites that the regular domain not working as iframe but additions like /webhp?igu=1 make it work. Why does it happen ? It’s like the “key” / API fo…

Microsoft Edge not displaying

I have a button that creates a new tab and loads some simple HTML and an iframe with a data URI passed into it. The new tab opens and I can see that this is all displayed in the DOM using the navigation tools (F12). However the Iframe does not display in Edge browser. I receive the errorHTTP404: NOT FOUND

Access iframe variable from parent – undefined

I want to access a variable in iframe from parent index.html. The index.html: The iframe index2.html: In the console, the variable clickParent is “undefined”. How to fix this and make the variable clickParent = clicks? This question is not a duplicate of Sharing global javascript variable of a pag…

How to change iframe source

the issue is that I’m trying to develop a web site and I’m using Google Web Design. So far so good. I’ve inserted an iFrame and I want to change it’s source when I’m pressing a button. Every search that I’ve googled speaks about “src” but my iFrame has “so…