iframe

Granting offline_access, read_stream, and publish_stream from facebook IFRAME app

Does anyone know a simple way to grant extended permissions from a canvas page that is rendered as an Iframe in facebook? I have tried facebook connect and that does not seem to work so now I am trying XFBML but for some reason when I use the prompt-permission attribute it does not open dialogs for the extended permissions that I am re...

Internet explorer 7 iframe is moving when clicking on link

I have a problem with an iframe, which moves the parent frame layout around when clicking on an anchor(or the javascript link which has an anchor, not sure) The whole iframe moves to the left of the page. demo on [removed, sorry], click on a link in the map. ...

Preventing iframe postback from calling jQuery 'ready' function on parent

I have an an iframe within a jQuery tab layout. I am using the iframe to upload an image, to simulate a AJAX file upload. It seems whenever my iframe postbacks, it causes the parent page's $(document).ready to execute, resetting the current tab I am positioned on. Any ideas on how to prevent this? function uploadDone() { var d...

How to prevent Iframe hack

my site is hosted in lunarpage and it geting hacked in from few month. i have done all things some of site saying (changing password like). finally 2 weeks ago i have blocked all ranges of Chinese ips. but today it again hacked. is there is any way to prevent Iframe hack? ...

Weird observation in JQuery / IFrames

Hi all, Here's the situation. function scrollLog(line) { // Assume Firefox // alert("weird"); frames['log'].find(line); }; Here's a function I call when the document is ready. The code as written does not always fire . However, uncomment the alert line, and after the alert is fired, the find function always fires. Any i...

Why would javascript code not be able to access variables in the window that opened it (window.opener) if both windows are from the same domain?

I'm trying to use the Facebook Connect Javascript API. I have a Facebook login button on subdomain.example.com/foo/bar/baz/article.html. Clicking on the button opens a login page on Facebook's domain. After you log in, that child window goes to subdomain.example.com/foo/xd_receiver.html, which is a file that Facebook provides that just h...

in coldfusion, variables in what scope can be passed to and iframe page?

hi everyone, i wrote 2 pages to test this problem, but the server complaints error. i don't know why, anyone can explaint it? great thanks. this is 1.cfm <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <head> <meta http-equiv="Content-type" content="te...

Nested iframe cross-domain communication

Here are two cases: Uppercase as one domain while lowercase as another 1.Suppose window A holds iframe b, and b holds iframe C, A & C in one domain(higher privacy) while b in another. Is there any direct way for communication between A & C, oneway or twoway. 2.Suppose A holds iframe b and iframe c, A is in one domain while B & C in other...

show page in iframe with different url in browser

Hello I apologize because my English is not good. I Have a webpage by asp.net that contain one treeview ,xmldatasource,one xml file that related to xmldatasource and one iframe. When user click on a treenode a webpage will be shown in iframe. Now I want when treenodes clicked , my url (e.g "www.mysite.com/default.aspx") change to...

iFrames vs. Framesets to display without obscured bottoms (for Diggbar experience)?

Hi, There are lots of posts regarding iFrames and framesets, but I have not found one that addresses my concern: are framesets bad to use? Understanding the potential for backlash against framed websites, I want to recreate the Diggbar -- only instead of one iFrame underneath, I want two or more. This Stackflow thread offers a solutio...

iFrame - Return only Center Section of Site

-AFFILIATE WEBSITE ISSUE- It would be great if someone could help with the following: (1) We would like the center section of our website to display only certain portions the center section of another website. (2) Most ideal would be for our site's left navigation bar to display the certain portions of the other site's center section in...

Frame buster buster

I'm trying to use a frame-buster-buster, as discussed in this question: http://stackoverflow.com/questions/958997/frame-buster-buster-buster-code-needed It works great at stopping the frame buster, unfortunately it also stops any change of the url at all - including clicking links or typing a new address in the address bar. Is there an...

Cross Domain JavaScript, parent location setting in embedding iframe case

Hi, There is a solution called "Fragment Id Messaging" to solve cross domain communication by setting parent.location with extra texts followed by "#" from child iframe, it works. However, if the parent itself is embedded as an iframe in another page, parent.location setting seems denied by browsers... Is this true? If yes, is there a w...

How extensible is Google Moderator?

I am trying to integrate vote-up-buttons similar as in Reddit to Google Moderator. However, Google Moderator does not give me Shell access. This suggests me that the only way is to use Vote-up-buttons from an external server set by iframes. I would like to know How can you can assign Iframe_A to a question in Google Moderator? How c...

Cross Domain JavaScript parent location setting firefox error

Here is the case: page A contains iframe B, B contains iframe C, A and B are under the same domain, C under another. C tries to reset parent B's location with extra information following "#" to solve cross domain communication using Fragment Id Messaging. IE6/7/8 just works fine with this case, while Firefox blocks parent.location settin...

How to preserve back button functionality for iFrames?

There are a few posts on iFrames and back buttons, but no conclusive answers. Here's another try. I have two iFrames on my page that load external content. (Yes, I understand the risks and complications with iFrames, but this is the only approach.) The site is similar to the Diggbar, only with two iFrames underneath instead of one. ...

Iframe Security Issues

Hi, We recently had a scenario in which an iframe snippet on a server A was pointing to url on server B. There were some malwares being installed by server A on some clients. Can this iframe be the cause. As in hacker injected his url in the iframe's src. What can be the alternatives to iframe etc. ...

prevent iframe content reload on hide in firefox

In my webapplication I hide an iframe using jquery hide() function. Surprisingly firefox reload the content of iframe when the iframe is hidden. Is this a known problem? Is there a workaround? I also tried to hide the iframe setting css style display to 'none'. Same result. The script work as expected in opera. I'm using firefox 3.5.1 ...

Detecting frames in PHP without JavaScript?

Hi folks -- I have a client running an ASP.NET application. Inside of that, there's a self-contained PHP wiki. The problem is that the wiki won't use the .NET authentication, so requests directly to http://foobar/path/wiki/ will resolve without forcing a login. My simple solution for this is to run the PHP application in an iFrame fro...

IE6 scroll event not working inside Iframe

So here is our scenario... We have a old website and from that website,on click of a button, we launch our newly developed application from within an IFrame. Now In IE6 , I am trying to catch the scroll event (ie catch the scroll of the browser). However,it dosent either the event isnt getting fired or i am not tapping into the right obj...