Jump to content

Archived

This topic is now archived and is closed to further replies.

rwtrkr

load custom page in anothers page iframe

Recommended Posts

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

Share this post


Link to post
Share on other sites
first of all, let me ask you this. do you know any php or javascript?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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!  :-[

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.