rwtrkr Posted July 21, 2006 Share Posted July 21, 2006 I have two pages named index.htm and page.htm. Page.htm has an iframe.I want to open page.htm from index.htm with a specific page in the iframe for each link.How can I do that?I hope my question is clear :-\please help Link to comment https://forums.phpfreaks.com/topic/15289-load-custom-page-in-anothers-page-iframe/ Share on other sites More sharing options...
ryanlwh Posted July 21, 2006 Share Posted July 21, 2006 first of all, let me ask you this. do you know any php or javascript? Link to comment https://forums.phpfreaks.com/topic/15289-load-custom-page-in-anothers-page-iframe/#findComment-61857 Share on other sites More sharing options...
rwtrkr Posted July 22, 2006 Author Share Posted July 22, 2006 Not really, I know a few basics of php but I'm still learning. But still, I you can give me a few hints, please do :D Link to comment https://forums.phpfreaks.com/topic/15289-load-custom-page-in-anothers-page-iframe/#findComment-61979 Share on other sites More sharing options...
Joe Haley Posted July 22, 2006 Share Posted July 22, 2006 server-side:Set the default URL of the iframe to the value of a GET request, or accept a numerical GET request and compare that with a stored array of pages with corrosponding numerical keys.Read the PHP manual for information on how to do this.Too complex? Find some tutorials on the net (At sites like [url=http://www.phpfreaks.com/]http://www.phpfreaks.com/[/url])Client-side:EEP! One of my many weaknesses exposed for all to see! :-[ Link to comment https://forums.phpfreaks.com/topic/15289-load-custom-page-in-anothers-page-iframe/#findComment-61980 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.