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 Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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! :-[ 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.