I'm using admire gray theme for my drupal site.
I've replaced the normal menu by the YUI Menu by editing page.tpl.php
This is the replacement code (everything between
tags is the code for showing the old 'default' menu, everything between
tags is the code for showing the yui menu).
<!-- old -->
<!--<div id="navigation"> -->
<?php //if (isset($primary_links)) { ?><?php //print theme('links', $primary_links, array('class' =>'primary_nav1')) ?><?php //} ?>
<!--</div>-->
<!--<div id="navigation2"> -->
<?php //if (isset($secondary_links)) { ?><?php //print theme('links', $secondary_links, array('class' =>'links', 'id' => 'nav2links')) ?><?php //} ?>
<!--</div> -->
<!--<div id="undernavigation"> -->
<!--</div> -->
<!-- old -->
<!-- new -->
<?php if (module_hook('yuimenu','menu') && ("tns" == variable_get('yuimenu_type','tns') || "tnm"==variable_get('yuimenu_type','tns')) ){?>
<?php print html_menu(variable_get('yuimenu_root','1') ); ?>
<?php }?>
<!-- new -->
In firefox and internet explorer the yui menu is shown at the same place as the default menu, in google chrome, the menu is shown at the bottom of the page.
Check it out at www.jogoweb.net
What's the solution?
Comments
Comment #1
bakyildiz commentedOh. It seems that google crome is not so good enough to render the css files or style. I see that crome has long way to go. But may be you can help them by reporting this case.