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? Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
florynel Posted October 7, 2009 Author Share Posted October 7, 2009 nobody knows? Quote Link to comment Share on other sites More sharing options...
florynel Posted October 9, 2009 Author Share Posted October 9, 2009 up Quote Link to comment 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...) Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.