iframe

How do I post to a user's wall through a facebook iframe app?

I have a simple iframe facebook app. I need the app to post content to the current user's wall. I'm doing everything in PHP and JS. Currently, the only facebook-specific PHP I have is to get the current user's ID, and the only JS I have is to get the iframe to size to the contents. How do I have a dialogue pop up with predetermined co...

Transparent frameset in iframe ie white background

I'm trying to nest a frameset in an iframe and I can't get the background of the frameset to show as transparent in IE. Firefox displays correctly. Here's the iframe: <iframe src="frameset.html" name="myframe" width="500" height="500" frameborder="0" allowtransparency="true"></iframe> And this is Frameset.html: <!DOCTYPE html PUBLIC...

How can I launch a javascript from an <iframe>?

There is an iframe on the page. Can the parent document (iframe parent) be accessed from this iframe? What I want to do: when the user presses a button inside iframe something happens on the main page Thanks! ...

Outbound links and iFrame

I want to replicate how digg.com treats their outbound links. They generate a short link like this: http://digg.com/d31F24Q which loads the outbound link's web page in an iFrame with a bar on top of the frame. I think there's a page template with the bar and iframe for all outbound links point to there. So how would I make all links poin...

jQuery - only fires on second click when changing iframe src

I'm trying to change the src of an iframe upon submitting a form. The iframe src won't change unless I hit the submit button twice. However, if I just change the input 'type' for my submit button to 'text', it works on the first click - but obviously doesn't submit the form. <script> $(document).ready(function() { $("#form1").su...

3 iFrames, 3 Links - Show 1 iFrame using onclick, while hiding the others

I have 3 button-images in one page, such that when you press 1, it should show the iFrame related to it, and hide the others. I just started learning about webdev, and I've browsed online, but i can't seem to make it work. :o Here's my code: <div id="tabs"> <div id="overview"> <a href="#wrapper">Overviews</a> </div> <div id="ga...

Strange toolbar in Firefox-hosted xbap application

I have an xbap application which is basically a Windows Form hosted in a WPF control. When I run it with Firefox, I get toolbar, which I can't seem to remove. This toolbar does not appear with IE if I execute the xbap directly, but it does appear if I embed the xbap within an iframe. Any ideas how to remove this? ...

What's the best way to handle errors/timeout when loading an iframe with jquery?

I'm loading an iframe by changing its src attribute and then registering a handler for its load event, i.e. obj.iframe.attr('src', src); obj.iframe.load(function() { ... }); This works well as long as the iframe loads correctly. I'm wondering if there's an easy way using jquery to set a timeout for the iframe to load and detect errors...

Customising Google Custom Search's iFrame to have a transparent background?

Hello. I've looked through all the relative GCS questions and answers on this site and have looked around the net, but no avail. I am using Google Custom Search with the iFrame option and the standard theme on a site where the background of the site has a textured, multicolour background. The Google results come in a standard #FFFFFF ba...

Accessing iFrame Contents via jQuery in IE

Hey all, I'm using jQuery to try and access the contents of an iframe WYSIWYG, just to get the character count and update a counter outside the iFrame. Oddly enough, my code works fine in in Firefox, but breaks in all versions of IE. Wondering if anyone could help me out with some IE-friendly syntax? Here's what I have so far: This is ...

how to detect iframe resize?

i have a page with a function to resize the height of iframe in this page as a height of content of iframe but whene the iframe has a toggle action the height change and the function dosn't detect the resize of the iframe. is there a way to detect if content of my iframe has change... ...

Redirect the parent page from IFrame.

I am using an IFrame, and from this IFrame I want to redirect to another page. Please tell me how to do this without any JavaScript, ie, no window.location. Response.Redirect shows the page in the IFrame, but I want to show page as a main page. ...

Notifying iFrame page from Firefox extension?

I'm writing a Firefox extension and need to notify an iFrame page of certain events. The iFrame page is contained within a sidebar created by the extension, and this iFrame page is controlled by me. When I load the iFrame page, the extension code needs to send a notification and trigger something to happen within the iFrame page. To a...

overlay div over iframe

I'm making a widget similar to the uservoice widgets, except I want the content of the page to be in an iFrame rather than the widget appear via javascript. How can I have a full page (width/height 100%) iFrame with a div fixed to the left of the browser, an example (using javascript rather than css/html) is here: http://uservoice.com/d...

Firefox doesnt print all contents of page

Hi, When viewing specific htmls that has several iFrames, firefox/IE8/safari doesnt print all content. The page consists of 3 iframes. One of the iframes seen blank in print (and also in print preview). What is the cause for this and how can I fix it? In IE7 this works fine. actual content: Content that is printed in firefox(or print p...

Cross domain with an Iframe, pointing to SSO server

I have an application, where I am displaying some stuff in javasctip modals using jquery. It req. user to login for certain flows; but we never leave modal for user. So here is what we do currently. During user flow if user needs to be logged in, we hide current div and show a login div Keep a hidden iframe with Source link as that of...

Better alternative to an iframe?

Hi. I have a page with an iframe to feature the contents of the clicked tab. There are 3 tabs and 1 iframe. The sources of the contents relating to each tab clicked are formatted and coded in other html & css files. What is another alternative to using an iframe, because I noticed that when the tab is clicked, it still shows the white b...

How do I use Flex's ExternalInterface with IFrames?

I have a simple html doc with a flex app and an iframe side-by-side (using a 1x2 table). There is a button in the flex app that, when clicked, sets the "src" property of the iframe to a URL by using the ExnternalInterface.call method to call a javascript function "doNavClick(url)". Or that's the idea. When I comment out the iframe obj...

Weird behaviour of iframe `name` attribute set by jQuery in IE

I'm doing an ajax style file upload by posting the file in a form to an iframe and noticed some weird behaviour in IE (seems to happen in both 6 & 8). Basically in IE the form doesn't target the iframe properly so the response appears in a new window (instead of in the iframe). You can reproduce the problem with the following minimal set...

iFrame onresize in safari

The onresize function doesn't seem to run in Safari (3.03 beta windows edition) when an iFrame is resized by its parent. Is this a known bug, and is there any way to get around it besides a timer-based check? The iframe and its parent are in the same domain, so calling the resize function from the parent would be doable except that the ...