File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes targeting frames Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "targeting frames" Watch "targeting frames" New topic

targeting frames

chris mulcaster

Joined: Feb 10, 2007
Posts: 2
I have designed a website that uses three html frames, labeled _top, _main and _bottom. My java action script is all containbed in the top frame and I am trying to use the getURL function so that when my buttons in the top frame are clicked the relevent page is displayed in the main frame.

The script workds but i can't get the new page to be displayed in the _main frame. For some reason the selected page opens up as if it was set to target _self. How do I target the _main frame?
It is sorta covered in the JavaRanch Style Guide.
subject: targeting frames
It's not a secret anymore!