Without going in to detail on what these methods do, can anyone tell me why I get these weird results?
getCurrentIframe().findInIframe("h2").css("paddingLeft") // gives me "20px"
how ever if I do .get(0) or [0] to get the dom-element and then rewrap it in a $ I get:
$( getCurrentIframe().findInIframe("h2")[0]).css("paddingLeft") //it...
I am creating a analytic project. My goal is to give the owner of x-domain a small amount of javascript includes from my site. That gives me the ability trace their mouse movements. I got the tracing down, All I need to do is send the data back to my server so it can be stored in my DB. my problem is the data is too large to send through...
I need to display a svg image (on which I have no control on) on a page I have control on.
This svg image has links, but when I click on them, the page is opened in the iframe. A solution would be to write target="_top" in the svg link, but I have no control on that file.
Is there a way to have the links open in the parent page (as it w...
My website has been compromised. Some one have injected some iframe markup in my website.
How they have done this? Only on my index.html, index.php page. But I have blocked write permissions for this page, then how they able to write in my pages.
Will it effect other pages on my server?
Is there any other solutions to block this?
...
Does anybody know a proper, cross-browser way to "empty" an IFrame?
Is "about:blank" recognized without error across all browsers?
Is it valid to give an IFrame an empty src?
...
I am working on a web application that has a menu across the top of every page with sub menus that drop down when a menu item is hovered over. This works fine, except on one page where we are trying to show a pdf in an iframe. The hover menus all end up behind the iframe in this one case. I have tried adjusting the z-index of both the...
Hello,
I have an iframe on www.mydomain.com that points to support.mydomain.com (which is a CNAME to a foreign domain). I automatically resize the height of my iframe so that the frame will not need any scrollbars to display the contained webpage. On Firefox and IE this works great, there is no scrollbar since I use <iframe ... scrollin...
Here is my main page code:
<form><iframe name="iframe_pic" src="iframe.html"></iframe></form>
Here is my iframe.html:
<script type="text/javascript">
function reset_imageform(){
f = document.getElementById("pic_form");
f.src=f.src;
}
</script>
</head>
<body><form name="pic_form" id="pic_form" enctype="multipart/fo...
I have set the target of the "pic_form" to a div (pic_target).
The form (pic_form) and the div (pic_target) are both inside the same iframe (iframe_pic).
Whatever I set the target to of the "pic_form", a new page pops up and there is my php script (imageUpload.php) output... WHY?
Here is my main page code:
<form><iframe name="i...
Hi,
I understand that there is no way to kill the iframe breaker... However, I was wondering, is there a way to gracefully handling it.
So far, I managed to detect it before exiting, using <body onunload="function();">. I was wondering whether it is possible to prevent it from loading the iframe or force it to open in the new window, ...
For instance the Twitter widget, should I place it inside an iframe or directly in the main page, if Twitter goes down can my site goes down if the widget isn't inside an iframe?
...
I have the following code presently:
if(isset($_POST['Movie']))
{
$check = $_POST['Movie'];
echo "(left angle bracket)a target='imdb' href='http://www.google.ca/search?hl=en&source=hp&fkt=3948&fsdt=45174&q=$check imdb
}
This gives me a link to click which when I do click opens in an iframe called imdb.
How do I cut out the ...
I'm clicking on a link within an iframe and loading an html file into a div in the parent window, using jquery. This does load the content into the div in the parent window (I'm using top.document to refer to it), but part of that html file is loading swfobject with a new variable, to play a different swf. It works fine all on one page...
hi,
i used the following code
<%@ Page Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="Projects.aspx.cs" Inherits="LevoContactManagement.Projects" Title="Untitled Page" %>
<%@ Register Assembly="WebControlLib" Namespace="WebControlLib" TagPrefix="cc1" %>
<a href="Projects.aspx" target="...
So I have the following code which is doing a setInterval until the iframe is available to be written to.
$( '#testdiv').append( $('<iframe id="testiframe"/>') );
var t = setInterval(function(){
if(document.getElementById('testiframe') !== 'undefined'){
clearInterval(t);
$('#testiframe').contents().find('body').append('asd');
}
}...
For some reasons I'm using an Iframe to display googlemaps, when I want to change it's content I'm just changing the Iframe src using JQuery.
$('#ggMap').attr('src', 'http://newurl.com');
Apparently it's not doing anything on Internet Explorer.
Does anyone know how I could do the same thing with IE?
...
I'm using window.print() from inside an iFrame. This works flawlessly in FF, but not so great in IE7. In IE7, it brings up the Print Dialog, however, the dialog itself is slow, choppy and unstable.
I'm having troubles understanding this problem, and any help would be greatly appreciated.
...
Hi,
i'm looking for a way to display a web page inside a div of other web page.
i can fetch the the webpage with CURL, but since it has an external stylesheet when i try to display it, it appears without all his style properties.
i remember facebook used this technique with shared links (you used to see the page that was linked with a fa...
heya,
This is an extension of an earlier questions I asked, here:
http://stackoverflow.com/questions/1519198/django-parse-xml-output-as-html-fragments-for-iframe
Basically, we're looking at integrating various HTML fragments into a page. We have an small web app generating little fragments for different results/gadgets, at various URL...
In my (school) website we use Iframes to display class blogs (on blogger). This works well EXCEPT if the user then clicks on (say) a photo inside the iframe. Blogger (in this case) then displays the photo in the whole browser window and the back button loops; that is if the back button is hit, the browser (IE, FF, Chrome) stays on the ...