I've created a Ruby on Rails app which is located at heroku, you can check it here "http://soundcloud-dj-contest.herokuapp.com/"
App is working perfectly and I've placed it inside the iFrame on facebook so it should work like facebook app.
Every link is working beside this button on top "Logirajte se da uploadate". This link leads to another page, soundcloud "soundcloud-dj-contest.herokuapp.com/login".
It works on main page but inside an iFrame I can't get it to work. I don't know what to do :/
I've uploaded iFrame here http://facemaskbliss.com/test/test_frame.html
Please tell me how to solve this problem.
try putting target="_blank" and also giving the full path instead of just "/login"
I had the same problem with a link inside an iFrame. I was using the absolute url ("http://example.com").
I finally got it to work by using the relative path to the page ("../example_folder/").
My guess is that for security reasons "foreign" links using https are "disarmed" now in iFrames, even if they are on the same domain. Because the link (absolute url) works when not using https.
Edit: Now that I think of it is because I was mixing http and https.
Related
I am trying to embed a website in an HTML application that has links. I've tried this:
<iframe id="frame" application="yes"></iframe>
(I haven't really figured out the size) and it worked, just you can't use links on the page. I would usually just put the code of the webpage into the hta file, but there were some problems with javascript. I need to make a multi-page site, so I need links. Is there a way to embed a website that has links onto an HTML app, and still keep the links working? Thank you for any help.
I am using a free domain provider(freenom.com)
They provide us a url forwarding feature free of cost.
We can set our main website in iframe there.
My main website is : www.maleenes.com/shop/
&
Free domain website is: fashionary.ga
where main website is dispalyed in iframe.
My problem is that when you click on any link in iframe website then
I want it to change the url and navigate to the original website .
just like below reference website:
For example.
The Iframe is on dresswego.ga.
As soon as you click on something the url changes to original website wegodress.com
i want the same for my website fashionary.ga & www.maleenes.com/shop
Can anyone help me please/
Thanks
Web browsers does not allow to change the top most parent URL of page from cross domain Iframe.
Is it possible to run a external web application in iframe?
For example, I have below iframe in my application.
<iframe src="http://www.w3schools.com"></iframe>
It loads the url on load but when I click on any of the link it redirects to that link, leaving the iframe. Instead I want to load that redirected page in that iframe only.
Is it possible? If yes, then how?
Thank you.
To tell you frankly, it is completely dependent on the external website. For the example you provided - w3schools.com, all the hyperlinks have an attribute target="_top" which forces the webpages to open on the parent most window. I guess you really cannot control it.
Add this line in head tag in your webpage.
<base target="_parent" />
I've a site using http and I need to put an https iframe link in it. The iframe is working fine in all browsers except in Internet Explorer. I know it's related to domain security, but need to solve it.
The error message shown in IE: "This content cannot be displayed in a frame."
How can I solve this issue?
I also tried to change the https link like: "//domain.com" and https://managewp.com/user-guide/faq/how-to-enable-iframe-in-internet-explorer-10 but both didn't work.
Please help me. Thanks in Advance.
This content cannot be displayed in a frame.
Is the message you get when you attempt to frame a page whose owner has asked for it not to be framed (using the X-Frame-Options header). This is not related to HTTP-vs-HTTPS, and it should fail on other newer browsers too.
My browser is session authenticated with a website.
I am using their API to pull down images from the site so I can display them on my page.
Visiting that image url displays the image, putting it in an img tag does not:
<img src = "https://files.something.com/123123" />><!-- this doesn't show -->
arse<!-- this works -->
Any ideas on why? and how I might overcome it?
If I put in http for the link, it redirects to https any way.
There's two things worth bearing in mind here:
Your host is automatically redirecting to https. Is this deliberate?
I suspect that you're seeing coming up against cross-domain security, or that your server is actively refusing it.
To trouble-shoot: you'll want to find out what response you're getting from your images.
Open up either the 'NET' tab in Firebug, or 'Network' in Chrome Developer Tools and watch the page-load. I suspect you're going to see those images come through red with an error number. Once you've got that it's very easy to trouble-shoot why the server's refusing to serve the images.