iframe

How To Reload A iframe Using jQuery

I've created a basic browser within a browser window using an iframe: The purpose is to allow mouse-over styling of elements using jquery ie/ highlight all links red etc... change font etc.. I've created two files: browser.php <html> <head> <title></title> <style> #netframe { float:right; ...

Navigation controls for a WPF Frame/WebBrowser with POST data

Hi, I need to display a web page inside a UserControl. To navigate to the web page I need to provide POST data. So far, so good. But I also need is to have some navigation controls (back/forward) to function according to the user's navigation inside the web page (just like a normal browser would act). What I tried so far is to put a Web...

Embedding page in sharepoint webpart

Hi, I need to create webpart in sharepoint 2010 which will allow me to view page from specific URL. I.E. I'd like to view http://google.com from this webpart. What's the simpliest way to accomplish that ? I'm totally novice to Sharepoint developement, I've just downloaded SDK and watched some screencasts about creating webparts. Also I...

iframe is being greedy and prevents anything from appering in front of it

I've got an app which uses an iframe in a portion of a page, for displaying folder contents from a fileshare. Works great, except, any time a jQuery pop-up window or select menu overlaps this iframe, the iframe always appears on top, hiding the content from the parent page which I want to appear over the iframe. I've messed around with ...

Fancybox: Show loading animation while loading iframe content

When using jQuery and fancybox for showing another page inside an iframe I want to show the loading animation while the page inside the iframe is loading. This is possible when using ajax to load content but I want the same thing when using iframe. Is it possible from the api to also get the loading animation while the content in the ifr...

How to get iframe contentWindow height in cross domain

i want to auto adjust my iframe height according to their content but in same domain it's work properly with contentWindow.height but in case of cross domain its permission denied for accessing iframe dom. ...

How do I make links open in parent frame using a Content Editor Web Part with iframes?

I need to have the links within my Content Editor Web Part open in the parent frame. The links are a part of the page the iframe is loading. I am editing the Home Page of the SharePoint site and cannot add a tag to the page. Here is my code: <div style="overflow:hidden; width: 800; height:200; position:absolute; left:-170px; top:0px...

Controlling the top parent window from iframe with jquery or javascript

Hi, I have a page on my site which has a blank text field. Next to this is a button which opens up an iframe (using colorbox). This iframe shows a list of files - next to each file is a button which puts the filename in to the text field in the parent window by calling the function below: function returnImage(file){ $('#input_text_i...

IE7 iframes swap / disappear upon hitting refresh but work perfect if I hit enter in address bar

As I can't really provide code examples at the moment I'm hoping someone's heard of this before. I've got two iframes; if I hit refresh ONLY in IE7, the lower frame's content will either appear in both iframes, or the lower iframe will disappear. If I hit enter in the address bar to refresh, it works perfect 100% of the time. ...

How to access a DIV on a page being accessed by an iFrame?

I have a print function using JavaScript that prints just the contents of the iFrame and not the page the iFrame is in. What I want to do is have a DIV or something in the page being access through the iFrame that will go visible when you print and have a legend on it and then it will go back to invisible once the page is printed? Any ...

jQuery select input name inside an iFrame?

Hey guys, I know about the same origin policy, however I wonder if this is possible: I'm having an iframe with an src from another website on my site. Inside of the iframe is input button with name="sendButton", I wonder if i can use jQuery to select this sendButton and on the onClick an alert should pop up. Is this possible? Same ori...

Make an event happen in child iframe to the parent window in JavaScript?

I don't have access to this iframe's source directly, so I would like to do this, if it's possibly this way. I have an iframe generated by JS: <iframe name="temp_iframe" width="100%" height="95%" src="'+the_url+'"></iframe> And inside is a submit button and a cancel button. The submit button works fine, but I want the cancel button t...

Cross Domain Policy iFrame - inspecting for elements?

just curious if it's possible to inspect an iFrame with src set to some other website for it's elements? for instance checking with jQuery if the iFrame contains a <div class="hello"> is that possible? thank you for your help ...

Resizing iFrame height from iFrame content?

Hey guys, weird thing right now. i have an iFrame on one of my sites which grabs it's src from one of my other sites. So both belong to me and I can access both. However sameOriginPolicy is always in the way :) i want to find a solution to autoResize the iFrame depending on it's content. i found a nice autoHeight jQuery plugin that woul...

firefox + flash disabled the ALT GR key : how to solve that ?

I am facing a big problem in firefox: the ALT GR key is disabled on some simple pages: (try to type in an email) This simple page DISABLES the ALT GR key <html> <body> <iframe src="http://www.dialogoo.com/vdialogoo.php?id=2" width="100%" height="100%"></iframe> </body> but if you open http://www.dialogoo.com/vdialogoo.php?id=2 ALT ...

Jquery Iframe Inheritence

Good morning peoples. I am mid way through building a very complex application using jquery. In short modules are loaded into iframes (to keep sandboxing and allow for varying things). I am having a bit of trouble referencing the jquery object / library in the iframe (from it's parent). I can write functions that are included in the ...

Difference in behavior using parent.window.location.replace vs parent.location.replace in IE8

Scenario: To change the URL of the parent window from within a cross-domain iframe. In IE-8 parent.location.replace("http://google.com"); works fine whereas parent.window.location.replace("http://google.com"); DOESN'T works (throws Permission Denied). Whats the difference when i do parent.location vs parent.window.location? And why i...

Remove insecure content from the page

Hi Guys, I want to remove insecure content from site I added facebook social networking box by using following GWT code in HTMLPanel < iframe width='244' height='242' class='fb-fan-box' src='https://www.facebook.com/connect/connect.php?id="+ FacebookConstants.FB_DUBLIN_PAGE_ID+ "&connections=10&stream=0&css=https://www.supergroupers...

Setting parent form attributes from an iFrame

Hello All, I have a jsp which has an iFrame in it. The page displayed in the iFrame depends on the selection made by the user in a drop down list on the parent page. Once the page inside the iFrame is displayed, the user can then fill in the details and hit on submit button. Problem is I'm not able to access the value entered by the use...

Flex Textfield doesnot gain focus when cursor is in text field of iframe

I have a web page which has a SWF file embeded. I have an issue with the focus. Steps to reproduce: 1)Click on a HTML Text Field which is inside a Iframe 2)Click on a Flex Field. 3)Begin to type some text. Expected Result is the entered text should go in the Flex TextInput field but the actual Result is it goes into HTML text field. ...