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
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
I would experiment with placing these in the nav section of the tpl_header-php file:
You can later move the nav section around as desired once you get the menus functioning as designed.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>
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
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
<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
Bradd,
Try the code as posted:
Placing the js in the correct folderCode:<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>
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
The // in the above is a comment indicator and these lines are then ignored as intended...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
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.