florynel Posted October 7, 2009 Share Posted October 7, 2009 Hi. I have an site eg (mysite.com), and I put an iframe of another site eg (siteiframe.com), but that iframe redirects to my site with iframe eg (siteiframe.com). How stopping frame redirection? Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/ Share on other sites More sharing options...
Shocker88 Posted October 7, 2009 Share Posted October 7, 2009 Very vague, you'll have to explain a bit more. So you have an iframe on your page that you want to show the contents of an external site within, but for some reason the iframe is just showing your own web sites information within it? Seems odd..as that should be easily avoided by ensuring you are linking to the right URL when you create the iframe (which is also not a php issue..) Can you clarify what you're asking so I can help some more mate? Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-932293 Share on other sites More sharing options...
florynel Posted October 7, 2009 Author Share Posted October 7, 2009 I put an iframe to show me the contents of a site, but you get on my site I automatically redirect the site with iframe. how can I stop this? I hope I did understand: P sorry for my English Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-932301 Share on other sites More sharing options...
florynel Posted October 7, 2009 Author Share Posted October 7, 2009 nobody knows? Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-932458 Share on other sites More sharing options...
florynel Posted October 9, 2009 Author Share Posted October 9, 2009 up Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-933675 Share on other sites More sharing options...
dgoosens Posted October 9, 2009 Share Posted October 9, 2009 if I get this right... you cann't because you would have to alter the code of the other site... which is impossible (unless you manage the other site as well...) Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-933682 Share on other sites More sharing options...
Bricktop Posted October 9, 2009 Share Posted October 9, 2009 Hi florynel, I doubt you're going to get it to work using a standard HTML iframe, if calling the iframe from a link you can use an iframe id which may work but I think you're going to be better off looking for a Javascript solution. Have a look here for a JQuery iframe plugin which may well do what you need or here for another JQuery iframe solution. Hope this helps. Link to comment https://forums.phpfreaks.com/topic/176818-stopping-frame-redirection/#findComment-933688 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.