Questions tagged as 'iframe'

3
answers

How to observe an error in the iframe element with attribute "sandbox"

I have in my document a iframe with the sandbox attribute. With javasript I read a Markdown file and parse using the showdonwjs library and add this result to attribute srcdoc of iframe and result is expe...
asked by 26.10.2016 / 08:39
2
answers

Use Object or Iframe to import other sites to my site

I needed to import several random pages from other sites to my site. Wikipedia, for example. I saw that I can use either Iframe (this worked) or Object (does not show the content). Next, I would like to add other specific formatting to those...
asked by 23.09.2015 / 03:49
2
answers

Calling the Javascript function from the parent file from within an iframe

I have 2 files: index.html iframe.html The file index.html has an iframe ( iframe.html ). There is a javascript function in the file index.html function testePai(){ console.log("teste da função...
asked by 07.05.2014 / 19:21
1
answer

Why am I missing input values when opening and closing an iframe using Javascript?

Context: I have an application that uses php + html + css + '"> jquery ). In it I have a page called principal.php that contains an iframe: <iframe src=pedido.php/> within calling pedido.php , as we can...
asked by 05.02.2014 / 20:02
7
answers

How do I get an element inside an iframe?

Why does .contents() not work? How to get an element inside an iframe as in the jQuery API example <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>contents demo</title> <...
asked by 29.01.2014 / 23:01
1
answer

How to make links open in an iframe?

How do I make the menu of the index.html page open the pages within iframe contained in the same document ( index.html ). For example, clicking the link page below the contato.html page loads into the iframe...
asked by 26.08.2015 / 20:26
1
answer

Is there a secure way to check the loading of frames in an HTML page?

Some time ago I built a tool with HTML and Javascript to help debug a family of web applications. Basically, the tool consists of a static HTML page and a collection of scripts that load a given system into an iframe and then allow you to ins...
asked by 20.12.2013 / 15:35
1
answer

How to change the volume of an iframe video by javascript?

I have tried the code below to solve. var volumeIcon = 1; $(".ico-volume").on('click', function(event) { if (volumeIcon == 1) { $(this).find("img").removeAttr('src'); $(this).find("img").attr('src', 'img/ico/volume-out-ico....
asked by 20.11.2015 / 13:35
3
answers

Detect if a given page is opened within an IFRAME

I wonder if you can detect the following situation: We have an intranet (from a directory) that is loaded through a given address: http: intr.abcdabcd.abc.br We have a global INTRANET, within the first page of the Global intranet, the D...
asked by 25.01.2016 / 17:25
1
answer

Get event click inside of iframe with jQuery

I'm using Google Forms to do a satisfaction survey on a website. On this site I show a bar at the top, asking the user to participate. If it closes the message, a cookie that expires in 24 hours is saved so that it no longer sees the message o...
asked by 21.08.2015 / 03:35