Hi,
mein Ziel ist ein Topmenü bestehend aus 3 Links mit unterschiedlichen Buttons zu definieren.
Für die Buttons halte ich mich größtenteils an diese Anleitung:
Tutorial für CSS Sprites
Leider kriege ich die Bilder nicht angezeigt wobei das zum teil glaube ich an der Tabellenstruktur liegt.
Als Beispiel nehm ich jetzt mal den Code von dem Forum:
So schön übersichtlich und sauber hätte ich gerne meinen Code.Code:<div id="navibg"> [...] <ul class="m_list"> <li class="m_forum"><a class="m_forum" href="http://www.joomlaportal.de/" title="home"><span>Home</span></a></li> [...] </div>![]()
Bei mir ist er leider aber trotz style=xhtml mit Tabellen überladen.
PHP Code:
Live Code:Code:<div id="topmenu"> <jdoc:include type="modules" name="top_menu1" style="xhtml" /> <jdoc:include type="modules" name="top_menu2" style="xhtml" /> <jdoc:include type="modules" name="top_menu3" style="xhtml" /> </div>
Sollte sich jemand fragen warum ich 3 Module eingefügt habe für ein Menü... Ich habe 3 unterschiedliche Buttons die für jeden Link zum einsatz kommen und mir viel keine bessere Idee ein als das so zu lösen.Code:<div id="topmenu"> <div class="moduletable-links"> <table width="100%" border="0" cellpadding="0" cellspacing="1"><tbody><tr><td nowrap="nowrap"><a href="/joomla/index.php/about-joomla.html" class="mainlevel-nav">Links</a></td></tr></tbody></table> </div> <div class="moduletable-mitte"> <table width="100%" border="0" cellpadding="0" cellspacing="1"><tbody><tr><td nowrap="nowrap"><a href="/joomla/index.php/about-joomla.html" class="mainlevel-nav">mitte</a></td></tr></tbody></table> </div> <div class="moduletable-rechts"> <table width="100%" border="0" cellpadding="0" cellspacing="1"><tbody><tr><td nowrap="nowrap"><a href="/joomla/index.php/about-joomla.html" class="mainlevel-nav">rechts</a></td></tr></tbody></table> </div> </div>
Wenn jemand dafür ne saubere Sache weiß nur zu.
cheers,
Crane


LinkBack URL
About LinkBacks
Zitieren

Lesezeichen