trouble with iframe and php - html

I have an issue and need some clarification
I have a wordpress site i am building and every time i try and code jquery into the theme i get errors so my work around has been to use two iframes....one being the menu
Can you have a link in a iframe load that links content in the area outside the iframe...if so how....if not is there a work around.
<iframe src="http://www.heartkidsplayshop.com/wp-content/themes/outreach/menu/all-examples.html" width="620" height="110" frameborder="0"></iframe>

Yes, use target="_parent" on the links in the iFrame.

Related

Youtube video fullscreen making page fullscreen

i have a wordpress website and i am using iframe to embed youtube video. Issue is when i click on fullscreen icon of video, my page with whole content go in fullscreen mode.
Its a weird issue and i have worked hours to solve this issue. Please check this link.
website link
using my code as:-
<iframe width="640" height="360" src="https://www.youtube.com/embed/Di7G4nbpyDg?feature=oembed" frameborder="0" allowfullscreen></iframe>
i know direct website links is not acceptable but this is something need to fix. Any response will be appreciated.
Thanks
On Wordpress use [youtube https://www.youtube.com/watch?v=XX11XX11X]
xx11xx11x is only example.
Wordpress wants to keep sites prtoected from iframes. So you are not able to publish <iframe>s.
Did you got it?
Edit: In your case use: [youtube https://www.youtube.com/watch?v=Di7G4nbpyDg]
like this:
I have no permission to show you the full video link.

My iframe is not showing for some reason

I cant work out why my iframe is not displaying correctly. There is lots to be done with it in terms of customization etc still but it isn't even displaying for some reason. I recently had SSL integrated. Here is the URL for the site where it is not displaying:
https://www.guildinator.com/domains.html
It should look like this:
http://guildinator.com/instantdomain/
The code I am using is
<iframe src "http://www.guildinator.com/instantdomain/" width="200" height="200"></iframe>
I know the width and height are weird but it was just to initially get the iframe in(eventually i want to turn it into a dynamic iframe). But I just can't work out why the iframe isn't displaying with such a basic code.
Thanks in advance for any help
i thinks you missing = in src
<iframe src="http://www.guildinator.com/instantdomain/" width="200" height="200"></iframe>

Iframe open link in specific target on page

I am coding simple html page with menu on the left side. when users click on the menu links I want the links will open on the right side.
In the past I used the iframe tag, but I want to know if there is a new way or another ways to do it?
<iframe name="rightSide" src="index.html" align="top" height="100%" width="100%">
Within the link, set up a target="rightSide" attribute. This will load the url in the link into the IFrame.
Load Me
Please find the code below
<iframe name="myFrame"></iframe>
and on target

Scrollbar not visible in iframe

I am trying to use iframe with src pointing to a website made in dojo framework. My URL is on different server and and my iframe is on different server. I am just using URL to load URL's content inside iframe. But I can't see the scrollbar with iframe although the page content is more than iframe.
My code is:
<div style="overflow:visible; width: 100%;">
<iframe src="http://172.27.135.85:2040/feg/ngfeeui/public/" width="80%" height="400px" frameborder="0" scrolling="auto" style="overflow: auto;"></iframe>
</div>
Can someone help me if this issue is due to some javascript or css used in dojo framework? If needed I can post the full code of URL also, what I am able to see in firebug.
Sorry this is in an answer, I don't have the points to comment yet. Does your browser support iframes? Check here: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_iframe_scrolling

Can't show some websites in iframe tag

I am trying to develop a page in which I can show more than 3 website at a time,
as below:
<ul>
<li>
<iframe src="http://www.facebook.com/" /><p> iframe is not supported</p>
</li>
<li>
<iframe src="http://www.yahoo.com/"></iframe>
</li>
<li>
<iframe src="http://www.google.co.in"></iframe>
</li>
</ul>
The problem is that it shows yahoo.com and google.co.in, but does not display Facebook in the iframe.
You have to check for HTTP response header X-Frame-Option of those sites. if its value is "DENY or SAMEORIGIN", then you can not load those website in the iframes.
DENY = No one can load the website in iframe. Even the same domain page wont be able to load.
SAMEORIGIN = only a page which is in same domain can load this website in iframe.
Since some websites have decided to disable embedding them in iframes theres nothing you can do with pure html solutions. You could create a serverside script (in PHP) that pulls the target site via your webserver and then use the html etc.
The only way I can think of that would enable you to check wether the site has loaded is to search the iframe for a specific element that exists on the target website (for example a div with a specific id or class on the Facebook's front page). The reason would be that different websites can handle being embedded into iframes differently and while some might display some content, some may display nothing etc and the only way to be sure is to check for real elements.
facebook does not want you to load their main site in frames
<iframe src="http://m.facebook.com/" width="200" height="300" scrolling="auto" frameborder=0></iframe>
width="200" height="300" can be adjusted accordingly.*
What this does is load the mobile version of facebook in the frame instead of the main site.
Reference
You can use the object tag:
<object data = "https://facebook.com"></object>
You will not able to do that, you can only iframe like button... someother not whole site.