There's a couple of ways I can imagine this being the case. One would be if there was some sort of "frame-buster" script on yahoo's site. Another would be that the form tag on that site specified the target of _top. If either of these is the case, and you don't work at yahoo, you're going to have to work out another approach. An iframe is simply not going to work in this case.
You might be able to build a proxy using cURL or similar, something which can submit a form, read the results, process them, and then insert them into your page or page fragment, which you then reload using an Ajax call or similar. But that's an awful lot of work for what might be limited gain. What is your goal here? Walter On Jul 17, 2007, at 9:40 AM, diddige wrote: > > Dear Sir/Madam, > > I have a requirement where i need to upload websites in a window, for > which i'm using iframe. > The problem i face is that i'm able to upload all the sites except few > sites like http://www.gmail.com, http://www.mail.yahoo.com. > The code im using is as below > <iframe src="http://www.mail.yahoo.com"></iframe> > > The problem is that when im trying to run the above yahoo mail's > landing page is getting opened in the entire browser reather than > getting opened in the iframe, which is resulting in logging out of my > application. > > Please help/suggest me a way where i can keep track of it, in order > atleast i can provide a warning message to the user saying that "You > cannot upload this website". > > Thanks in advance. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
