Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

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

    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>

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


    2)Menu.js
    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);

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    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
    Code:
    <base href="" target="content" />


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •