Forum Moderators: open

Message Too Old, No Replies

iframes question

how to use iframes with dynamic pages?

         

spatula

10:48 pm on Dec 20, 2002 (gmt 0)



Hi all, I'm a newbie. Sorry if this post is idiotic.

Basically, here's my question. I have a page written in perl which dynaically changes layout based on what the user defines. No links are actual .html files, as it is all one page, with the "links" set as different variables passed to one page.

So now, my company wants to use iframes in the main content section of this page. However, I can't for the life of me, figure out how to send the variables through the iframe and get the output correct.

Any help would be *much* appreciated.

tedster

1:44 pm on Dec 21, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, spatula. I see 4 possible scenarios. Are you looking to have

1. Links in the iframe document send variables to re-write the parent page, including a new iframe document?

2. Links in the iframe document where the parent document remains the same and each link sends variables to load a new iframe document, but not the parent page?

3. Links in the parent document that rewrite the whole page - new iframe and new parent

4. Links in the parent that only rewrite the iframe

I'd think that trying to cover all 4 possibilities with one script could get quite convoluted. You might do better to have a different script for each scenario.