-
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]
-
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>
-
Check out this thread.. I think I answered this for you already...
http://209.207.250.147/showthread.php?threadid=34622