View Full Version : Need Help regarding HV Menu. Its a different scenario and challenging one..CAN U ?

01-14-2007, 07:42 AM
HI All,

I need help regarding the same.. HV menu as used by Schwartzd ..

I am using a frameset which is like this

Header Frame |
Menu Frame | Content Frame |
Footer Frame |

What i need is when i click on the menu the link should open in Content frame...
But it will open the link page in Menu Frame...
Plz Help......

The code is some what like this...

1)Frame set Code..
<frameset rows="120,*,45" border=0 SCROLLING="NO">
<frame src="Header.jsp" name="header" SCROLLING="NO"></frame>
<frameset cols="230,*" border=0 >
<frame src="menu.jsp" name="menu" SCROLLING="NO"></frame>
<frame src="DisplayTasks.jsp" name="content" height="100%"></frame>

<frame src="Footer.jsp" name="footer" SCROLLING="NO"></frame>

Menu1=new Array("Home","http://www.dynamicdrive.com","",0,20,138);

Menu2=new Array("News","blank.htm","",2);
Menu2_1=new Array("General","blank.htm","",5,20,150);
Menu2_1_1=new Array("CNN","http://www.cnn.com","",0,20,150);
Menu2_1_2=new Array("ABCNews","http://www.abcnews.com","",0);
Menu2_1_3=new Array("MSNBC","http://www.msnbc.com","",0);
Menu2_1_4=new Array("CBSNews","http://www.cbsnews.com","",0);
Menu2_1_5=new Array("Canadian News","http://news.bbc.co.uk","",2);
Menu2_1_5_1=new Array("Vancouver Sun","http://www.vancouversun.com","",0,20,150);
Menu2_1_5_2=new Array("CTV News","http://www.ctvnews.com","",0);
Menu2_2=new Array("Technology","blank.htm","",3);
Menu2_2_1=new Array("TechWeb","http://www.techweb.com","",0,20,200);
Menu2_2_2=new Array("News.com","http://www.news.com","",0);
Menu2_2_3=new Array("Wired News","http://www.wired.com","",0);

01-15-2007, 04:34 AM
Since you are using a js menu that is being generated I would suggest that you include a base tag in ur menu.jsp

sorta like

<base href="" target="content" />