Jump to content


load custom page in anothers page iframe

  • Please log in to reply
3 replies to this topic

#1 rwtrkr

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 21 July 2006 - 07:36 PM

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

#2 ryanlwh

  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 21 July 2006 - 10:14 PM

first of all, let me ask you this. do you know any php or javascript?
Please use EDIT * 100...
Please use
or [php] * 1000...


#3 rwtrkr

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 22 July 2006 - 05:03 AM

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

#4 Joe Haley

Joe Haley
  • Members
  • PipPipPip
  • Advanced Member
  • 103 posts
  • LocationCanada, eh?

Posted 22 July 2006 - 05:07 AM


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 http://www.phpfreaks.com/)


EEP! One of my many weaknesses exposed for all to see!  :-[
Give a man a fish; you have fed him for today.  Teach a man to fish; and you have fed him for a lifetime
Don't teach men to program. Teach them to fish.

Please, try the RTFM solution before asking for help:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users