?
Solved

How to pass a variable

Posted on 2003-02-22
3
Medium Priority
?
144 Views
Last Modified: 2013-12-24
I need to make a selection from a drop-down box in an inline frame.
On the 2nd inline frame of the "holding page", I want it to display a web page based on the value selected in the drop-down box.

IE:
Inline frame (A):
Select "1" in the drop-down box.
Let's say the name of the parameter is "D1"
The value for 1 = "webpage.htm"

Inline frame (B):
Is set to retrieve its initial page using "D1" from above.
So it places the value of D1 (webpage.htm) in the retrieval and pulls up that page.


That is the basic concept. Maybe using inline frames is not the best route.

I have set this up but cannot seem to get the Inline frame (B) to take the value of D1. It is probably simple syntax but all my attempts wind up using the literal (D1) instead of its value.

Any ideas?
0
Comment
Question by:mpulse24
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
wcameron earned 150 total points
ID: 8058724
Usually frames IS NOT the best way to approach this. Frames are not indexed by search engines and for that reason, only your home page will be indexed. The more pages listed in search engines, the more opportunity for people to find your site. This alone is enough reason to avoid frame pages.

To pass parameters check out a tutorial at my site:

http://www.wardcameron.com/frontpage/DRW/Parameters/index.asp
0
 

Author Comment

by:mpulse24
ID: 8070153
Thanks - I read your thorough instructions on your site.
I already have a few pages passing parameters for database retrieval activity.

What I want to do here does not have anything to do with a database.
I want to have a list of options in a drop-down box (that I manually set up initially) that, when a selection is made, causes a web page to be retrieved/displayed based on the value of the parameter selected.

The values are filenames of pages - such as webpage.htm

So, say I select #4 in a drop-down box with 1 through 10 selections. Upon submission, a web page appears. It is webpage4.htm because the value sent when selection #4 was submitted specified that page.
If I select #7, the value would be webpage7.htm and that page would be displayed.
And so forth.

This seems like it ought to be really simple - I hope my explanation is clear enough to understand.

Looking forward to your feedback . . .
0
 

Author Comment

by:mpulse24
ID: 8215980
This never was resolved here but I managed to solve the problem from another post.
Thanks for giving it a quick shot.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question