aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Help on Frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Help on Frames" Watch "Help on Frames" New topic
Author

Help on Frames

Ray Yung
Greenhorn

Joined: Jul 27, 2004
Posts: 6
Hi,

I have a page with frames. What I like to achieve:
1) able to update window status;
2) a mouse click on a button in Frame B results in setting
data in Frame A.

My page works in IE but not in FireFox. Will the expert
explain to me how I could achieve the same result in FireFox?

main.html


menu.html


content.html



TIA,
Ray
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
parent.window.status
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
looks like your code should update....probbaly not awake enough yet...

try this
parent.frameMenu.theForm.user.value = name;
Ray Yung
Greenhorn

Joined: Jul 27, 2004
Posts: 6
Eric,

Thanks for your suggestions. But they both are not working
properly in FireFox v1.0.3

According to FireFox JavaScript Console, it states
"Error: parent.frameMenu.theForm has no properties".

Thanks,
Ray
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
ahhh

it should be

parent.frames['frameMenu'].document.theForm.user.value = name;

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on Frames
 
Similar Threads
How to change input font and open new page in frame
java Script Program
how to call javascript function in the previous html file
how to enable a textarea in javascript?
dynamically create href link