iframe

Jquery detect change or keyup on body tag within iframe

与世无争的帅哥 提交于 2020-01-01 10:07:15
问题 I have a jwysiwyg content editor control on my page. The control works by creating itself in an iframe which has a full html page code within it. I wish to detect if there has been a change or keyup so I can use our "indicate the record needs to be saved" code. We have input boxes and this work fine, just this 3rd party editor control is giving us problems. Here is what the page source looks like: <div id="this_is_our_div_Container"> <div class="wysiwyg"> <iframe id="f_Body-wysiwyg-iframe">

Jquery detect change or keyup on body tag within iframe

有些话、适合烂在心里 提交于 2020-01-01 10:06:25
问题 I have a jwysiwyg content editor control on my page. The control works by creating itself in an iframe which has a full html page code within it. I wish to detect if there has been a change or keyup so I can use our "indicate the record needs to be saved" code. We have input boxes and this work fine, just this 3rd party editor control is giving us problems. Here is what the page source looks like: <div id="this_is_our_div_Container"> <div class="wysiwyg"> <iframe id="f_Body-wysiwyg-iframe">

Google Chrome - Screen capture failing when iframe is used, same script works without iframe

点点圈 提交于 2020-01-01 09:33:08
问题 When i use this following script it works with normal browser. But when iframe is used then its showing me this error: Does anyone know what is causing this and can be resolved? ERROR: channel message Object {type: "getScreenPending", id: 24504, request: 6} content.js:4 channel message Object {type: "gotScreen", id: 24504, request: 6} content.js:4 >>> ShareScreen: if any err NavigatorUserMediaError {constraintName: "", message: "", name: "InvalidStateError"} test.js:1616 manifest.json: {

Fill input text forms on other website in iframe

老子叫甜甜 提交于 2020-01-01 09:21:37
问题 I want to autofill textboxes on another website so I'm writing a short script to do this. I'm loading an iframe with a website in it and if this iframe is loaded, it should fill in the input text forms. So I wrote this in autofill.php : <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script src="fill.js"></script> <iframe name="autofillframe" src="https://e-services.blum.com/main/" style="width:100%; height:100%;"></iframe> And this I wrote in fill.js : $(document).ready

iframe autoheight

微笑、不失礼 提交于 2020-01-01 07:10:10
问题 I've searched everywhere including here and haven't been able to come up with a good solution. I ran into this and it works in everybrowser except Firefox and IE :( Help? jQuery(function() { sizeIFrame(); jQuery("#ifrm").load(sizeIFrame); }); function sizeIFrame() { var videoBrowser = jQuery("#ifrm"); var innerDoc = videoBrowser.get(0).contentDocument ? videoBrowser.get(0).contentDocument.documentElement : videoBrowser.get(0).contentWindow.document.body; videoBrowser.height(35); videoBrowser

jquery access iframe id from iframe content

99封情书 提交于 2020-01-01 05:59:27
问题 i am trying to do something with jquery. i have code like this 1.html; <html> <head> <script language="javascript" type="text/javascript" src="jquery.js"></script> </head> <body> <iframe src="2.html" id="frame1"></iframe> <iframe src="3.html" id="frame2"></iframe> </body> </html> in 2.html file. i am trying to access iframe container id. 2.html file content; <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function (){ $(

YouTube 360 video iframe does not work in mobile browser

妖精的绣舞 提交于 2020-01-01 05:25:09
问题 I am trying to get an embedded iframe for a YouTube 360 video to play on my mobile site - it works fine on a desktop browser but in the mobile browser I just get the flat stereoscopic view playing back. I can confirm it is definitely a HTML5 player This is clearly an unresolved problem that others are experiencing. See below posts: https://productforums.google.com/forum/#!topic/youtube/7sk92Fs1juk Make Youtube 360 degree Videos work on mobile So I want help with at least one of these two

position:fixed inside of an iframe

≡放荡痞女 提交于 2020-01-01 05:14:05
问题 For some reason, if I load an html page that has position:fixed on something, but I load it in an iframe, the fixed positions to not seem to render as fixed, but look more like absolute positioning. I'm not expecting the fixed divs to be fixed relative to the parent document. I would just think that they would be fixed in the iframe. Is this not possible in an iframe? 回答1: Chrome has a bug that doesn't fix elements with position:fixed if: a) you use CSS3 transform in any element, and/or b)

Stop YouTube video within iFrame on external Button click

只愿长相守 提交于 2020-01-01 04:19:14
问题 I know there are similar questions to this, but I haven't quite been able to get it to work. This code shows a YouTube video which is within an iframe. When a button (emsbinstartbutton) is clicked the video is hidden and replaced with a placeholder. If this place holder ( threebytwo ) is closed the video should show again. At the moment this works fine except that when the video is hidden it will continue to play (you can hear the audio and when you go back you can see it is still playing).

jQuery UI dialog is setting iframe width automatically

若如初见. 提交于 2020-01-01 03:19:27
问题 I want to ask why jQuery UI dialog is setting the width to "auto" automatically? Below is my iframe to be constructed a dialog. <iframe id="pklist3" class="ui-dialog-content ui-widget-content" frameborder="0" src="http://localhost/picker" style="width: 570; height: 410px; min-height: 0px;" scrolltop="0" scrollleft="0"> It has a fixed width and height. But every time I call the "dialog('open')" the width gets to "auto" by itself. As for the height it was set to some fixed value (I guess it's