iframe

JSF multiple views limit

杀马特。学长 韩版系。学妹 提交于 2019-12-24 00:07:23
问题 I've created a web application that opens up pages inside an iFrame on the main page. Each iFrame is viewable via a tab on the page and uses JSF2.2 with Mojarra view state beans to populate the page. This works fine when I open up something under 10 tabs; but when I try to open up more, the beans that held the first pages are destroyed and get recreated when I make any calls to the bean thus losing any prior changes the user may have made. I'm using Apache Tomcat 7 with Catalina, and this

Django page not rendering in Facebook iframe

随声附和 提交于 2019-12-23 23:37:05
问题 i'm trying to show this django page (https://www.mm.viance.com.ec/cupones/) in a Facebook iframe and I'm getting a blank page. I tried getting an SSL certificate, and it didn't work. I also tried bypassing de csrf_token protection. The page renders just fine in a browser, but not inside the Facebook iframe. Any help will be appreciated. Thanks in advance, 回答1: Django uses Clickjacking protection with 'django.middleware.clickjacking.XFrameOptionsMiddleware'. To allow the site to be embedded in

Calling a specific id inside a frame

≯℡__Kan透↙ 提交于 2019-12-23 23:28:53
问题 I have a iframe tag in mainpage.html, that iframe calls back.html.. is there any way to call only the specific ids in back.html for display in iframe.. Detail: I have 25x25 table in back.html. initially iframe shows all 625 cells minimised. each cell has a unique id. can i call a specific cell only to display(original size) inside iframe. or is there any other way to go around it.. please specify 回答1: Try this code: var iframe = document.getElementById('your-iframe-ID'), /* or other kind of

YouTube iframe embed showinfo not working in chrome but working in IE and FF

一笑奈何 提交于 2019-12-23 23:22:53
问题 This isn't even an issue specific to a site I'm trying to make, as you can go to https://developers.google.com/youtube/youtube_player_demo to replicate the issue. Simply play the standard video without changing any options, and then untick the showinfo setting to try and remove the title, play the video again with the updated setting, and the title is still there. Any way to fix this? 来源: https://stackoverflow.com/questions/16459547/youtube-iframe-embed-showinfo-not-working-in-chrome-but

How to refresh an iframe not using javascript?

大城市里の小女人 提交于 2019-12-23 22:19:39
问题 I have an iframe which I would like to refresh every fifteen seconds, but I'm not sure how to do this or if it is even possible. If it is, how would I go about doing this without the use of JavaScript. If JavaScript is necessary then please post how I would do it in JavaScript. Thank you. 回答1: You might be able to achieve this using a meta tag, inside the HEAD element of the HTML file being included inside the iframe: <meta http-equiv="refresh" content="5" /> This will refresh the page every

Silent failure loading page application in iframe over https

南楼画角 提交于 2019-12-23 21:54:55
问题 Problem I have an application driving a tab on a client's page. The application works correctly if the user has not enabled FB's "secure browsing" feature. If attempting to view over HTTPS, the iframe doesn't even appear (no errors, no mixed-content warnings). When correctly loading over HTTP, the div with the id "pagelet_app_runner" has an iframe inserted into it and the application content is loaded inside there. Over HTTPS, this div remains empty and the iframe is not inserted into the

File:// link doing nothing in all browsers

▼魔方 西西 提交于 2019-12-23 21:48:56
问题 I have a link being generated that looks like so: <a target="_blank" title="Test" href="file:///c:/test.xls">Test</a> This link is inside an iframe. When I click on it (in any major browser), nothing happens. Fiddler records no traffic. Pasting the URL into the nav bar works fine - the file download box comes up, and I can download the file no problem. I've tried every variant of the URL structure (correct and incorrect, colons, slashes, backslashes, etc.) that I can think of. I'm certain

Need to display iframe when link is clicked from menu

不羁岁月 提交于 2019-12-23 21:14:10
问题 I am creating a website which can display a bunch of playlists I have created on 8tracks. Lets say I have 10 playlists; I want to be able to link to that iframe playlist (via the embed code which 8tracks provides) like this: http://d.pr/i/FBxn Essentially I want the iframe to change based on which mixtape link I click on the menu (a playlist of playlists*) I am new to JS and would appreciate anyhelp. I'm still trying to grasp the relationship between HTML and JS so this is a new area for me.

IE executes inline scripts before external in dynamic iframe content

倖福魔咒の 提交于 2019-12-23 20:36:19
问题 within a website I'm writing the content of a dynamically added iframe with JavaScript. After adding the content to the iframe the JavaScript in the iframe will be executed. Unfortunately there are differences in IE. IE (8-11) will execute inline JavaScript first, before executing external scripts even if they are before the internal scripts . This is very strange since the normal process is, that JavaScript will be loaded synchronously step by step. Example: My webpage: <!DOCTYPE html SYSTEM

Keep fixed position inside an iframe relative to the whole screen

痞子三分冷 提交于 2019-12-23 20:25:12
问题 Context: We're serving our app through an iframe inside our clients websites The iframe is seamless and scrolling happens only in the parent div right now. One of the Divs in our app has a fixed position and should always be present, no matter how much you scroll. Update: We deploy a javacript script next to the iframe, so we have access to the hosting page The problem: When served inside the iframe, the fixed position Div doesn't seem to retain its fixed position relatively to the whole