IntelliJ Java IDE
The moose likes HTML, CSS and JavaScript and the fly likes Dyanmically setting the _top frame in a frameset Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

Dyanmically setting the _top frame in a frameset

Zak Nixon
Ranch Hand

Joined: Sep 27, 2003
Posts: 126
Hello all.
I currently have a top/left/center frame setup. My index page has a set of buttons that link to this frameset, but each button needs to set the _top frame that is displayed based on the button pressed. I am trying to use javascript and JSP to acheive this, but is there an easier way to do this?
If anyone has any solutions, please help.
Thanks
Zak Nixon
SCJP SCJD 1.4
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50677

All of this will need to be done with Javascript. JSP only formats pages to send to the browser and is completely frame-agnostic.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15003
Please do not Cross Post...closing

answered here
http://www.coderanch.com/t/114594/HTML-JavaScript/Dyamically-setting-top-frame-frameset
 
IntelliJ Java IDE
 
subject: Dyanmically setting the _top frame in a frameset
 
Threads others viewed
Break out of frameset
Dyamically setting the _top frame in a frameset.
Break out of frameset
How to set frame target in Servlet
Redirecting to parent page from with in a Frame
IntelliJ Java IDE