Thread: JAVA Menu

Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Default JAVA Menu

    I am trying to make my site as seamless as possible between the HTML and Zencart portions. However,I am using a JAVA menu (HVMenu from DynamicHTML) and it works fine in the HTML portion of my site but not properly in the Zencart portion. I have added ..//my template/javascript, renamed my scripts exmplemenu.var.js (variable file) and menu.js(main file) with the preface 'jscript.'. (IE jscript.menu.js) Without anything other mods, the menu does display on the Zencart pages with some of the variables there but the backgrounds are transparent and there are no colors. What am I doing wrong? Is there another file I should be putting these scripts into?

    My main site is www.orendaflutes.com and my Zencart is www.orendaflutes.com/zencart

    Thanks, Dave

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: JAVA Menu

    Where are you placing these menus? It is not in your tpl_header.php file as navigation. What file or where called from
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Re: JAVA Menu

    The only place I have put the files is in templates/my_template(which happens to be called 'brown'/jscritp They are called jscript_emplmenu_var.js and jscript_menu_com.js For some reason it works but with the problems as listed above.

    Should I put them in the tpl_header file too/instead? Should I go back to their regular names?

    Bradd

  4. #4
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Re: JAVA Menu..PS

    In my HTML section the exmplmenu_var.js file is supposed to go in the body secton of my index.html while the menu_var.js stays in the root.
    Bradd

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: JAVA Menu

    I would experiment with placing these in the nav section of the tpl_header-php file:
    Code:
    <script type='text/javascript'>//HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)//Submitted to Dynamic Drive (http://www.dynamicdrive.com)//Visit http://www.dynamicdrive.com for this script and morefunction Go(){return}</script>
    <script type='text/javascript' src='exmplmenu_var.js'></script>
    <script type='text/javascript' src='menu_com.js'></script>
    You can later move the nav section around as desired once you get the menus functioning as designed.

    I do not have an install infront of me now but I recall that there is a location for js items, you should place them in this locale and you would have to adjust the src call to point to this location

    Use the override system
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Re: JAVA Menu

    I have tried all over the place in tpl_header.php with no difference in results. My tpl_header is in my my_template(brown)/common directory. Is this right?

    The menu works without changing the names and by putting the originally named files in the jscript directory and it does work but I still can't get any graphics.

    Is there a file with a 'head' section that it should go in?
    Bradd

  7. #7
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Re: JAVA Menu

    <script type='text/javascript'>//HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)//Submitted to Dynamic Drive (http://www.dynamicdrive.com)//Visit http://www.dynamicdrive.com for this script and morefunction Go(){return}</script>
    <script type='text/javascript' src='zencart/includes/templates/brown/jscript/exmplmenu_var.js'></script>
    <script type='text/javascript' src='zencart/includes/templates/brown/jscript/menu_com.js'></script>

    I have tried this and every combination that I can think of...still doing something wrong?

    Bradd

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: JAVA Menu

    Bradd,

    Try the code as posted:
    Code:
    <script type='text/javascript'>
    
    //HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)
    //Submitted to Dynamic Drive (http://www.dynamicdrive.com)
    //Visit http://www.dynamicdrive.com for this script and more
    
    function Go(){return}
    
    </script>
    <script type='text/javascript' src='exmplmenu_var.js'></script>
    <script type='text/javascript' src='menu_com.js'></script>
    <noscript>Your browser does not support script</noscript>
    Placing the js in the correct folder
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Sep 2006
    Posts
    55
    Plugin Contributions
    0

    Re: JAVA Menu

    I added exactly (copy and paste) what you sent to the tpl_header and tried it and it works but the background is still transparent in the Zencart portion. I then pointed the examplmenu_var and menu_com SRC to the jscript folder like this;
    <div id="navMainWrapper">


    <div class="navMainSearch forward"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

    <script type='text/javascript'>

    //HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)
    //Submitted to Dynamic Drive (http://www.dynamicdrive.com)
    //Visit http://www.dynamicdrive.com for this script and more

    function Go(){return}

    </script>
    <script type='text/javascript' src='/zencart/includes/templates/brown/jscript/exmplmenu_var.js'></script>
    <script type='text/javascript' src='/zencart/includes/templates/brown/jscript/menu_com.js'></script>
    <noscript>Your browser does not support script</noscript>

    Because I found that it was reading the original file in the main folder and the zencart exmple_var is different. Now it points to the right java files but the background is still transparent.
    Bradd

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: JAVA Menu

    Code:
    //HV Menu v5.411- by Ger Versluis (http://www.burmees.nl/)
    //Submitted to Dynamic Drive (http://www.dynamicdrive.com)
    //Visit http://www.dynamicdrive.com for this script and more
    The // in the above is a comment indicator and these lines are then ignored as intended...

    I do not understand what you are referring to when you state "pointed"

    I did notice that on your html site > select accessories > Buffalo Sprit -Bone Jewlery...and then the menu is also transparent. So this appears to be something in the js and not due to ZenCart...

    Also, as applied to the cart...it is transferring to the html pages with no return path and the base reason that I have recommended that you bring all of this over into the cart to have a central source and maintenance point. Each of these pages can be created with ezpages in the cart where the cart header remains as the focal point for all navigation.
    Zen-Venom Get Bitten

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h Full page Java based menu?
    By frank18 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 10 Oct 2012, 06:02 AM
  2. Easy way to edit header/top menu, footer menu, and sidebar menu?
    By templar2 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Jun 2009, 11:14 AM
  3. Custom menu , Java + Css? not flash, looks amazing
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Apr 2009, 09:25 PM
  4. Going Nuts-Java Menu
    By orenda in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Oct 2006, 10:43 PM

Posting Permissions

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