Hi folks,
I inherited an eCom site which operates by multiple frames. There is a sidebar frame that may have a list of products in a category or be a blank page. And there is a main content frame that will hold category items, or content, or the shopping cart.
It is a nightmare of spaghetti code includes and I don't have access to th...
I'm using the jQuery plugin lwrte (http://code.google.com/p/lwrte/). I've implemented a custom drop down in the panel of the wysiwyg that, when select, outputs a value at the cursor position. This jQuery plugin uses an iFrame to accomplish the wysiwyg functionality.
The above works in IE and in FF, but is broken in Chrome and Safari. Th...
Inspired by the new User Flair, but the question applies to the general case as well.
Let's say I want to include something like this on a site that doesn't allow me to specify external styles or use any javascript. The only thing I can do is paste in an object, embed, or iframe, and some other simple html. Additionally, the width o...
Sometimes I use:
window.frames[framename].location.href
..only to find firebug reporting window.frames[framename].location is null, why would this be?
...
Hi there,
I have an iframe with id "appframe", the source is page.html and it's on the same server. I want to get the source of the page using jQuery.
alert($("#appframe").contents().find("html").html());
returns <head></head><body></body> even though the document does not contain those tags, it only contains "Default page" - any ide...
How can I only load the HTML of a page into an IFRAME, without automatically triggering the download of all the css,scripts,images,videos on the page?
Or can you get an event the moment the DOM is "ready".. when the initial HTML has loaded and nothing much more.
...
I am trying to get post a form to a hidden, dynamically inserted iframe, but in Internet Explorer the form submission opens in a new window.
var iframe = document.createElement('iframe');
iframe.name = 'hidden_iframe';
iframe.className = 'NotVisible';
iframe.id = 'hidden_iframe';
document.body.appendChild(iframe);
var my_form = documen...
Hi,
I have an input box inside and iframe. If i type and press the back key to erase the text, the back key event is taken as browser back and goes to the previous page. What could be the cause.?
...
I tried this, and it just reloads to nytimes.com Any ideas?
<div style="position:absolute; top: 0; left: 0; width:80%; height:100%; background-color:white">
<iframe border=0 width=50% height=1000 src="http://nytimes.com/"></iframe>
</div>
...
I have an HTML + javascript page that embeds a page in an iframe. I would like to be able to trigger a submit button (which causes a POST) within the embedded page using javascript in the enclosing page. Is there a library already doing this?
...
AFAIK,I can achieve this goal by window.frames['frame_name']
but if I only know frame_id,is it possible to get the content too?
You can try it out here:
http://maishudi.com/rte-light-read-only/index.html
btw,is it possible to get location attribute through iframe_id?
I tried long ago but failed.
...
I have a question similar to that posed in the "Detect failure to load contents of an iframe" issue. I am putting together a web page that loads a Google calendar as an iframe. I know that a large number of the computers that will use my web page will have restricted internet access such that the Google calendar won't load into the ifr...
So, in pure HTML, I can create a form that loads its results into an iframe
(instead of moving the user to the result url).
<html>
<head>
<title>Google Preview</title>
<style>iframe { width: 800px; height: 600px }</style>
</head>
<body>
<form method='get' action='http://www.google.com/search' target='results'>
<l...
Hi guys,
I'm trying to create a panel popping up from the sidebar which contains a Haptek player. I wasn't able to get it to work initially because of the document.write() command in it's javascript interface. So I ended up using an iframe object inside the panel which contained an HTML page loading the Haptek player. The problem howeve...
I have an webView in a Cocoa application which I edit the contents programatically. What I wanted to do was make clicked links open in the users default browser, so I added the code at the bottom of this question. It works perfectly but if there is an iFrame on the page that loads it will open the iFrame contents in the default browser a...
I need to animate the height attribute of iframe, but seems like the animate function accepts style properties only. Any thoughts on this?
...
I've got this structure:
<div id="source1">
<iframe src="foo.html"></iframe>
</div>
<div id="source2">
<iframe src="foo.html"></iframe>
</div>
If I've got some js code inside foo.html, is there a way to tell which div it's in (without adding a parameter to the iframe code)?
...
I'm looking for help with using iframe with a FDF. It also has to display in IE because we use MS CRM. The PDF that the FDF is referencing is encrypted so I can't do any server side merging (I don't think). I've looked at the FDF-Toolkit but it's little over kill for just displaying, also I have heard that it doesn't always work.
Thank...
Suppose I have a web app that I want to embed into any other site using an iframe. The iframe references my site and operates independently of the hosting web page.
Well, the browser considers the iframe to be a third party site, therefore its session cookie is considered a third party cookie. Some methods exist to make the browsers h...
I wanted to give my users a little piece of JavaScript or HTML code that they could put on their site and show information about them. Kind of like StackOverFlows new feature Flair.
I have an idea of how to code it. I was going to give them some JS with a HTML that had a DIV id="MySite_Info". Then the JS would go to my site and pull som...