Hello Typo fans,
i have a little problem with the menu.
i want to make this menu --> http://www.t-me.info/typotest/menu/menu.html
i have tryt to modifie it but it wont work for me :S
does someone know how to do that?
Much Thanks
Tieme
<div id="placemainmenu">
<ul id="mainmenu" class="<?php echo $this->level; ?>">
<?php foreach ($this->items as $item): ?>
<?php if ($item['isActive']): ?>
<li class="active"><?php echo $item['link']; ?><?php echo $item['subitems']; ?></li>
<?php else: ?>
<li<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?>><a href="<?php echo $item['href']; ?>" title="<?php echo $item['pageTitle'] ? $item['pageTitle'] : $item['title']; ?>"<?php if ($item['class']): ?> class="<?php echo $item['class']; ?>"<?php endif; ?><?php if ($item['accesskey'] != ''): ?> accesskey="<?php echo $item['accesskey']; ?>"<?php endif; ?><?php if ($item['tabindex']): ?> tabindex="<?php echo $item['tabindex']; ?>"<?php endif; ?><?php if ($item['nofollow']): ?> rel="nofollow"<?php endif; ?><?php echo $item['target']; ?>><?php echo $item['link']; ?></a><?php echo $item['subitems']; ?></li>
<?php endif; ?>
<?php endforeach; ?>
</ul>
</div>
<div id="placemainmenu">
<ul id="mainmenu">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="werkwijze.html">Werkwijze</a></li>
<li><a href="overzicht.html">Kosten</a>
<ul>
<li class="top"><a href="pakket1.html">Pakket 1</a></li>
<li><a href="pakket2.html">Pakket 2</a></li>
<li><a href="pakket3.html">Pakket 3</a></li>
<li class="bottom"><a href="onderhoud.html">Onderhoud</a></li>
</ul>
</li>
<li><a href="work.html">Portfolio</a></li>
<li><a href="contact.php">Contact</a></li>
</ul>
</div>
Vera wrote:The reason the submenu is not showing is probably the dtd you're using. Your example uses a transitional dtd and your website uses a strict dtd. I think TL allows you to change the dtd. If you cannot or do not want to, you have to position the menu, specify a minimum height (and a height for ie6 and older) and use z-inde to make the submenu display on top of the rest.
But this is just my first guess, the problem might still be (solved) elsewhere...
.block {
overflow: visible !important;
}
Users browsing this forum: No registered users