I want to embed the currency rate table from this website https://myfin.by/currency/russia
without embedding the whole page!
so anyone can type the right embedding code for me!
thank you >
This is not a perfect solution but you can get the ID of the table #currency-content, add this onto the URL to go to that part of the page. https://myfin.by/currency/russia#currency-content
I then made the iframe have scrolling off so that you can't see the rest of the site. You probably want to add a width as well because it is currently very thin.
<iframe scrolling='no' height="3200" src="https://myfin.by/currency/russia#currency-content"></iframe>
Related
Good day,
I'm planning to create a site that can create pages and that pages can display to another site, is that possible?
The idea is to
Create pages on site A
Display pages on site B
Thank you :)
You can use <iframe> to display HTML from another source
<iframe src="B.html"></iframe>
You can also use URL
<iframe src="http://example.com"></iframe>
I have an iframe that contains a page within it that includes links to other pages. The problem that I am having is that when the links are pressed I would prefer the entire page to be directed there and not to just load the new page up in the iframe.
Here is my code so far:
<!DOCTYPE html>
<html>
<?php Template_parts::navigation(); ?>
<iframe src="https://website.com/thepageinside" style="width: 100%; height: 100%; border: none;"></iframe>
</body>
</html>
I have seen a few things on adding target="_top" to the links within the iframe but it does not seem to be working.
My reason for using an iframe here is because it is a page that is created using a web page builder and can be updated regularly. In order to put it into our format without the css bleeding into the header/theme I used an iframe.
Thank you in advance for the help.
I'm not experience in asking questions so if I missed something or you need more info let me know.
I found that the landing page builder that my place is using actually inserts a javascript function that messes with reaching the parent from the iframe using target in the href (or anywhere). My solution was to edit out that function then use
As other sources say you can use "_parent" which sets the target of the link to what is outside the iframe which in some cases may not be the top.
One way to do it for each link:
For lookup reference you can go to: https://www.w3schools.com/tags/att_a_target.asp
using the like I did will set the default used for all links.
I'm not sure how many page builders have conflicts like this but mine certainly did. Took me hours to figure out I was not doing anything wrong!
Here I give an code. I want to set the iframe but is not showing anything. I don't understand what is the problem.
<iframe src="https://twitter.com/money2020"></iframe>
"Twitter's site blocks direct iframe display through the secure hypertext transfer protocol, which keeps someone from making a direct iframe to any given page on Twitter. Instead, Twitter widgets need to be created through the corresponding Twitter account to be embedded on a site within an iframe."
http://www.wikihow.com/Create-a-Twitter-Hashtag-Widget
https://twitter.com/settings/widgets
I want to make a html page that act kind like google cache.
Say in my homepage HOME, I have a link A to a website B, and when I click on A, the page that comes out will display the content of another page, with a floating bar on top that has some functions of my own choices.
For example, I want my link to show google.com, but I also want to add a button(floating bar, anything) to that google.com that allows me to return to my own webpage when pressed.
Can someone provide me some useful resources for me too look at, or even better a solution template? :)
Thanks!
You could use an <iframe> in order to display an external webpage within your webpage.
Just place the url of the webpage that you want to display inside the quotes of the src attribute.
<iframe src="http://www.webpage.com" width="400" height="400"></iframe>
An iframe sounds like it may be what you need, but I'm not 100% sure after reading your description. The iframe will show content from another URL in your page. Once you have that all you need to do is style the page and use CSS/JavaScript to add in your functionality as described.
Check out this:
http://www.w3schools.com/tags/tag_iframe.asp
Either you use an iframe or you load the site via AJAX into a div (e.g. using jQuerys load() method).
Here's the general idea:
HTML:
Click Here
<iframe id="frame" src="http://www.w3schools.com" scrolling="yes"></iframe>
Some jQuery (not tested):
$(document).ready(function() {
$('#frame').hide();
$('#link').click(function () {
$('#frame').show();
})
})
Style it as necessary
Note - this answer in no way endorses w3schools.com :-) . Please see w3fools.com/
I found Kevin Gourney's answer to be most straight forward and helpful. I'm using this to work around Adobe Spark's Domain limitation and created a simple one liner index.html file and tweaked the code as follows:
<iframe src="PasteAdobeSparkPageLinkHere" width=100% height=100%></iframe>
how can I embed an iframe into a jsp so that the top iframe acts like a row in a table and the bottom iframe acts as a second row in the table and the cell size is adjusted automatically to fit the contents in the iframe? By doing this, there won't be an internal iframe scroll bar appearing when the iframe content is more than the height of the iframe?
I tried to put an iframe in a table cell but.. that's syntax error...
The reason I want to use iframe instead of table is that I would like to embed my another application into the page. Thank you very much in advance.
Edit: Also, the reason that I don't use frameset is that the frame will occupy the fix amount of browser viewing space, but I want it to be able to be scrolled off the display.
Here's a post I found that might help u.
http://www.Kaali.Co.Uk/index.pl?art=94