In the [webView:shouldStartLoadWithRequest:navigationType:] event, how can you tell the difference between an iframe that's loading content vs. the entire page loading content? It seems like the both call this same event with the same arguments, the only difference being the URL that's going to be loaded, so there is no way to tell the d...
Here a short test to demonstrate my problem. I have a page that loads an iframe:
<html>
<head>
<title></title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
</head>
<body>
<iframe id="iframe" src="box.html" style="width: 100px; height: 100px"></iframe>
...
I need to select an iframe with an jquery query inside the same iframe. However, I don't want to assign the iframe a unique id and use
$('#'+self.name,top.document)
(which i saw somewhere). Is there any relative way to do this (something with $(this) and traversing ??!?)
Everything is on the same server, there is no xss.
...
Understanding all the security and UI concerns with iFrames, I am implementing a toolbar similar to the DiggBar or FacebookBar.
A top bar persists across the top 30 pixels of the screen, and an iFrame displaying external content fills up the remainder of the page.
When users close the toolbar, and thereby exit my little site to go dire...
Hi, I am using JavaScript to make a small iframe application, and I cannot seem to figure out a way to update the URL in my URL bar I made when someone clicks a link inside the iframe.
It needs to be instantaneous, and preferably without checking every millisecond whether or not the value of document.getElementById('idofiframe').src ha...
I'm currently using an IFrame to sandbox user generated content on a website. This eliminates any styling issues with our main stylesheets.
However, when a user generates a link using our rich text editor, we would like the link to open in the parent and not just open the link in the IFrame. I realize you can set a target to the paren...
embedded a popup menu inside an iframe. But second/third level sub-menus not visible when it goes beyond iframe width.
Thanks in advance for any help!!
...
Hi,
I just wanna learn how to read Iframe content in onLoad event of iframe and write it's content to the main page ? Thanks..
...
dentro de un archivo HTA tengo un iframe y no esta enviando las cookies, hay alguna forma de que las envie correctamente.
I've an iframe inside of a HTA file, when I call the inner page cookies aren't send to the server.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">...
hi, I'm a n00b when it comes to javascript. I have two scripts which I found online that I am trying to use on the same page. One is prettyPhoto(http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/) which I am using for the light box effect. The other is slideshow (http://slideshowjs.com/) which I'm using in th...
My app has a modal dialog with an iframe inside it. I've written my jQuery code such that when the dialog opens, it sets the appropriate 'src' attribute of the iframe so the content loads up. However, during the delay between the dialog opening and the content loading, the iframe appears conspicuously as a white box. I'd prefer the ifr...
I have this code and it works fine:
Head
<script>
$(document).ready(function()
{
$("#test").resizable({minHeight: 50, minWidth: 50});
});
</script>
Body
<div id="test" style="border: .1em solid black;">
</div>
However when I change my "div" into "iframe" I can't resize it anymore.
Body
<iframe id="test" style="border: ....
I've got a Classic ASP page full of frames and I'd like to find a cross-browser-friendly alternative. In many cases, the frame exists solely to allow the user to scroll a window of text on one side of the screen.
What's the best practice for showing scrollable content without using Frames?
...
While browsing Facebook pages I was wondering if their bar loads on every request.
Using Firebug i discovered this is true, but my user experience on their site tells me is not.
I know that their bar use position:fixed; and bottom:0px; CSS style, is this the only trick they do ?
Other sites loads their all content using an iframe while ...
My site was hacked few days back and was banned by google. I have cleaned the database and its a bug free site now. But how do i remove the Reported Attack Site box?
I scanned my local pc then i had cleaned the all iframe codes in local files and delete all server files then i uploaded i can view my website internet explorer but still ...
Hello,
are there any reasons not to use iframes at all? I currently use it to load a page from a different server (a sign up page - part of a distributed application) to provide a seamless experience. Is using iframes considered bad practice or is its use OK?
...
Hello,
how can I (cross-browser compatible) maximize an iFrame so that it appears to be the page in the URL bar even though it is served from a different server?
...
If I'm inserting content into a textarea that TinyMCE has co-opted, what's the best way to set the position of the cursor/caret?
I'm using tinyMCE.execCommand("mceInsertRawHTML", false, content); to insert the content, and I'd like set the cursor position to the end of the content.
Both document.selection and myField.selectionStart won...
On my WinXP, everything just work fine. But when testing on a Mac OS X, the loadComplete event never fire. Please help !
...
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 ...