View Full Version : HV Menu and Iframes

11-10-2004, 10:14 PM
SCRIPT:HVMenu (http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm)

I am trying to use Iframes with the HVMenu script and can't get it to work correctly. Is there any way to do it?

If I leave the fram configurations as they come originally then the links open in the parent window. (example (http://electronixmd.com) )

If I put the Iframe name into the DocTargetFrame variable it puts the whole menu into the iframe.

Let me know if I left out any details or if I am unclear.

I hope this can work - it's a killer script.


11-11-2004, 11:46 AM
We need to make the link targets clear.

<a href="wherever.htm" target="_frame">link text</a>

If you know what I mean, that target="_frame" part is what needs implementing.
At college at the moment, I might deal with this later.


11-11-2004, 01:03 PM
I know exactly what you mean. I know how it would work in plain HTML, but the problem for me is making the link target clear through a the .jar file.

I tried different configurations, but as you can see below, it isn't all that clear how I would do this.

Menu2=new Array("WHAT WE DO","whatever.htm","",4);

I appreciate the help.

11-11-2004, 01:56 PM
You might be able to cheat and do this:

Menu2=new Array("<a href='where.htm' target='where'>WHAT WE DO</a>","#","",4);