We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Java Manu - ryHyperAM.class

wooble
wooble asked
on
Medium Priority
255 Views
Last Modified: 2011-09-20
I have a new website going up in three weeks time, on the site I'm going to have a frame system with a java menu used for navigation. My problem when I select a page from the java menu it is opened in the same frame, when I really want the selected page to open in the opposite frame, on the right. The Applett is called ryHyperAM.class and the new frame system I'm trying to use is at http://ww.ph1.com/test   

I know it's _self for the same window and _new for new browser...  any ideas?
Comment
Watch Question

Commented:
Change your target to the name of the frame you wish it to appear in.  In this case it is "main".
BTW, a new browser is "_blank" not "_new".

Hope this helps!
-Josh

Author

Commented:
Tried putting the target as main and _ main, still opened in a new browser.  Then re-named the frame to test and put the target as test and tried _test too, still same prob, opens in new browser...  Pleashelp....

http://www.ph1.com/test

Goto "Tell Me What You Want" in the "Tracks" Menu.....

Thanks
Michel PlungjanIT Expert
CERTIFIED EXPERT
Top Expert 2009

Commented:
Your server was incommunicado...

The target is case sensitive so
<FRAMESET....
<FRAME NAME="main"

uses the target main
and
<FRAMESET....
<FRAME NAME="Main"
uses the target Main

No underscore

Michel

Commented:
Well, there is a problem when I try to load that page, so it's hard to see.  Not sure what, but when I load it it tells me that there is no dns entry for your two paes in the subframes...  I can view the frameset however and load the two pages manually, but it won't show them together in the frameset.  Does it work for you?
-Josh

Commented:
Anyway, using target="main" just like that should do it for when the frame is named main using <FRAME NAME="main"....  as mplungjan just said.
Also, I know this shouldn't make any difference at all, but you never know... try moving the <NOFRAMES> portion underneath the frameset tags, instead of in them.  In other words change it to this:
<frameset frameborder="0" border="0" framespacing="0" cols="155,*">
  <frame src="navbar.htm" name="nav" marginheight="1" scrolling="auto">
  <frame src="homemain.htm" name="main">
</frameset>
  <noframes>
  <body stylesrc="homenofr.htm">
  <!--webbot bot="Include" startspan tag="BODY" u-include="homenofr.htm" -->
<p><em>[homenofr.htm]</em></p>
<!--webbot
  bot="Include" i-checksum="11148" endspan -->

  </body>
  </noframes>


And after that if it is still not working for you, then I'd have to say there is a problem with the applet, and you should post the applet source if you have it so we can debug that...
-Josh
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.