Open external links in an iframe - iframe

I have an iframe with a bible link in it. When I click on the bile link it opens the Bible in the iframe, but then when I try to click on any chapter of the Bible it opens in an external window. I want everything to open in the iframe. Can some one please help me with this?
Thanks in advance

Related

I'd like to change the link for the spotify logo in an embedded iframe playlist

I'm using this embedded iframe in my website (www.thatgolda.com):
playlist
The circled logo, when clicked, goes to a link that automatically downloads spotify. I'd like to know if there's some code I can use to change that link to my spotify artist page.
I'm not very familiar with javascript, so I'd appreciate an answer "for dummies."
Thanks in advance for your help.
GP
From the Spotify Play Button website (https://developer.spotify.com/technologies/widgets/spotify-play-button/):
Is there any way of customizing the design of the Spotify Play Button?
E.g. color, typography…
Currently there is no way no change the design of the Spotify Play
Button.
You can, however, use a Spotify Follow Button elsewhere on your website! The design is familiar for many users and clearly shows what the action of the button is.
https://developer.spotify.com/technologies/widgets/spotify-follow-button/

How to Open CS-Cart inside an iframe

I am wondering if anyone can help me here.
I am trying to open CS-Cart inside an iframe, but it will not work- once i remove the iframe, then it loads.
There is nothing wrong with the iframe as i tried other carts like Magento etc and they work but its only CS-Cart which doesn't.
Here is the link to the preview, where i want the CS-cart demo to open http://www.shopping-cart-hub.com/items/preview/22
if you guys need the links i can post it here to explain- i am new here so not sure if i can.
Thanks

How to Over ride youtube external style?

I'm working on a website and i use a wordpress plug-in that embeds youtube videos.
Now it has this great option to show only an image of the video and load the video only if you press the video so the page won't take a lot of time to load.
The problem is that in that mode it takes that video photo from youtube and it also takes a big, red, play button image that is ugly as hell :)
Now that button's css is coming from some external link (http://s.ytimg.com/yts/cssbin/www-embed-vflSBO3VV.css) and i don't know how to over ride it.
Any suggestions?
That is the site i'm working on btw - http://www.lab.gezerweb.com/ClipPress/
Thanks.
I believe you're talking about an embed that uses controls=2, correct? (See https://developers.google.com/youtube/player_parameters#controls)
If so, then no, there's no way to override the default play button in the cued state.

How to make links inside an IFRAME to open outside this Iframe?

I have created a widget kind of. In reality I put the information in a php file and then I provided the Iframe code for this file to my members.
Considering site A is member's site and site B is my site.
Site A shows the IFRAME:
<iframe src="http://siteB.com/try.php" height="240px" width="286px"></iframe>
When this IFRAME is clicked, it opens a new pop window, because of this code:
<?php echo $status_img; ?>
So far so good.
Now the problem is this pop up window also has a link. How can I make this link open outside this IFRAME, to be more specific, to take them to Site B , my site . At the moment this link opens inside the iframe and it can't be used this way.
This last link is:
<a onclick="return targetopener(this,true)" target="_top" href="http://siteB.com/services.php">
It works perfectly in my site but not in an Iframe. I know I complicated myself a little with this iframe but I adapted a solution to my poor knowledge. I'm opened to new solutions though, if this link can't be opened outside the Iframe. Thank you in advance!
Try changing target to _parent if you want the link to open in the previous window (it's parent window). So if site B opens up a pop-up with site A inside that then must refer them back to Site B then this should open the link in the window that spawned the popup.
But if you want it to open a new window that leads to your website then of course use _blank.
You can use this base tag. Place the tag in the iframe. Should solve your issue.

Parent content with iframe in blank page?

I have created a web page which for example contains some links and an iframe. These links are opened in iframe, so everything outside iframe is static (parent content doesn't reload). All works fine and all my pages are well structured so that it's easy to understand code of page.
But when I press a middle button on one of the mentioned links (to open it in a new tab or window) that isn't in iframe and normally should open in iframe, a browser will only display the content which is inside iframe and parent content will be lost.
What could be the best solution for this problem?
The only thing I need is an iframe which works as usual, targeted links are opened in it.
If a link is opened in a new tab or window, it looks the same if the link would have opened with a left click of mouse.
Instead of links you can use buttons, on them right or middle click can't be performed.
Better solution. Now I'm using jQuery BBQ with modified and improved initialization code.

Resources