![]() |
|
|
|||||||
| embarcadero.public.delphiphp.language.php This group is for discussions pertaining to the PHP language. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have a form with a frameset containing the frames for manu and body. I have in Frame1 my menu as Form1. Selecting a menu item I want to load e.g. Form2 into Frame2. But Form2 doesn't know Frame2. How can I get a relation to it? Thanks & regards, John |
| Sponsored Links |
|
|
|
|||
|
John Schmidt wrote:
> I have a form with a frameset containing the frames for manu and body. I > have in Frame1 my menu as Form1. Selecting a menu item I want to load e.g. > Form2 into Frame2. But Form2 doesn't know Frame2. How can I get a relation > to it? If you're using ordinary links, you'd just set the target property on the <a> tag to the name of the frame that you want changed. If you are using JavaScript, you can get the frame instance using this code: var frame2 = window.parent.frames["Frame2"]; frame2.location.href = "new url"; Jon |