|
-
Oct 10th, 2000, 07:19 AM
#1
Thread Starter
Hyperactive Member
Hi,
I have a page with a "nested hierarchy frame"(frontpage) ie.
C M
A
(This did not come out as I wished, but I hope you know what I'm trying to say - "C" = left frame, "M" = middle frame, "A" = footer frame)
"C" is my normal content page (Who are we, contact us etc)
"M" is a page which I want to change the whole time
"A" is the asp page which controls what must show in "M"
I saved the whole frames-page as index.asp
No here is the story.....
I have a listbox in "A" with the options (Car,train,plane) and a submit button.
When the user clicks on eg "car" and then submit I want to change "M" to a page with the cars details on or when he clicks "Plane", "M" must change to a page with the planes details on!!
Please can anyone tell me how to change "M" according to script I write in "A".
I use VBScript and dont know any other language like jscript etc.
ANY help - please!!!
[Edited by turfbult on 10-10-2000 at 08:23 AM]
-
Oct 10th, 2000, 10:26 AM
#2
Frenzied Member
is the information to be displayed in "M" static data or an asp page?
use javascript in the browser it's far better than VB script
and it's easy to learn
http://www.irt.org will help a lot!
anyway try this sort of thing:
Code:
<html>
<head>
<script language=javascript>
function doit(v){
parent.M.location="yourpage.asp?choice=" + v;
//M is the name of your taget frame
}
</script>
</head>
<body>
<form name=frm3>
<select onclick="doit(this.value)">
<option value="cars">cars</option>
<option value="planes">planes</option>
<option value="boats">boats</option>
</select>
</form>
</body>
</html>
-
Oct 10th, 2000, 10:30 AM
#3
Frenzied Member
Check out this thread.. I think I answered this for you already...
http://209.207.250.147/showthread.php?threadid=34622
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|