chrishau Posted February 4, 2010 Share Posted February 4, 2010 Hi! I am trying include an old booking script from an old website in a iframe so that I don't have to rewrite the entire thing. The problem is that when I access the site where I have the iframe the browser immediately gets redirected to the php page itself... Anyone know a workaround for this? I am using wordpress and the link to the site with the iframe is: http://org.ntnu.no/seiling/?page_id=9&langswitch_lang=no And this is the ifram code that I am trying out: <iframe src ="http://www.ntnui.no/seiling/oldpage/leie.php" width="300" height="300"> </iframe> Thank you in advance! Quote Link to comment Share on other sites More sharing options...
vinpkl Posted February 4, 2010 Share Posted February 4, 2010 i think there is some javascript window.location script on that page or somewhere that is redirecting you. otherwise if you write <iframe src ="http://www.ntnui.no/" width="300" height="300"></iframe> then this site opens fine and doesnt redirect you. vineet Quote Link to comment Share on other sites More sharing options...
chrishau Posted February 4, 2010 Author Share Posted February 4, 2010 Yeah, I tried other websites as well and it works fine. It is just that the calendar php script that I want on my site is located at http://www.ntnui.no/seiling/oldpage/leie.php. And I cannot find any javascript references in the php scrip that is run on that site. I would be happy to share the code with someone if they could help me with it, but as the code is not mine I would have to send it privately. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
chrishau Posted February 6, 2010 Author Share Posted February 6, 2010 shouldn't an IFrame just show what's inside the link? 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.