synistics
|
Can the 'art_menu_worker' be called twice and yet the different menus retain indepent CSS
region.tpl.php
<?php if ($content): ?>
<div class="<?php print $classes; ?>">
<?php switch ($region) {
case "navigation":
print art_menu_worker($content, true, 'snb-hmenu');
break;
case "lowernavigation":
print art_menu_worker($content, true, 'skinz-hmenu2');
break;
case "vnavigation_left":
case "vnavigation_right":
break;
default:
print $content;
break;
}?>
</div>
<?php endif;
I have seperated the CSS into upper and lower menus hmenu and hmenu2, all are visible but hmenu2 keeps inheriting the CSS from the first one.
Thanks
Synistics
|
|
|
|