Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Dropdownmenu im Showthread Template
#11
Ich hab es hinbekommen:
Code:
...
<script type="text/javascript" src="jscripts/thread.js?ver=121"></script>
<style type="text/css">
@media screen, projection, print {
ul.examp  {margin-left:1em; padding:0; list-style:none;}
ul.examp li {float:left; margin:0; padding:0; list-style:none; border:1px solid #000; background:#fff; width:200px; padding-left:10px; color:#000; font-family: Arial; font-size:12px;}
ul.examp li:hover {background: #B0C4DE;}
ul.examp2 {display: none; margin:0; padding:0; list-style: none;}
ul.examp2 li {margin:0; padding:0; list-style: none; border:0;}
ul.examp2 li:hover {margin:0; padding:0; list-style: none; border:0; background:#B0C4DE; display: block;}
.examp li:hover ul.examp2 {display: block; position: absolute;}
ul.examp a:link, ul.examp a:visited {color:#000; text-decoration:none; display: block; width:100%;}
ul.examp a:hover, ul.examp a:active, ul.examp a:focus {color:#000; text-decoration:none; display: block;}
div.dm {height:9em;}
div.dm ul {display:none; margin-bottom:0;}
div.dm:hover ul {display: block;}
}</style>
</head>
<body>
{$header}
{$pollbox}
<div style="float: right; padding-bottom: 4px;">
    {$newreply}{$newthread}
</div>
{$multipage}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="thead" colspan="2">
    <div style="float: right;">
<ul class="examp">
<li><a><b>Thema-Optionen</b></a><ul class="examp2">
    <li><a href="printthread.php?tid={$tid}"><img src="$theme[imgdir]/printable.gif" border="0"/> {$lang->view_printable}</a></li>
    <li><a href="sendthread.php?tid={$tid}"><img src="$theme[imgdir]/send.gif" border="0"/> {$lang->send_thread}</a></li>
    <li><a href="usercp2.php?action=addsubscription&amp;tid={$tid}"><img src="$theme[imgdir]/menu/subscribe.gif" border="0"/> {$lang->subscribe_thread}</a></li>
    <li><a href="usercp2.php?action=addfavorite&amp;tid={$tid}"><img src="$theme[imgdir]/menu/subscribe.gif" border="0"/> {$lang->add_favorites}</a></li></ul></li>
</ul>
    </div>
    <div>
        <strong>{$rating} <font size=3>{$thread['subject']}</font></strong>
    </div>
</td>
</tr>
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>
{$posts}
{$threadpages}
<tr>
<td colspan="2" class="tfoot">
    <div style="float: right;">
<ul class="examp">
<li><a><b>Ansicht</b></a><ul class="examp2">
    <li><a href="showthread.php?mode=threaded&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}"><img src="$theme[imgdir]/menu/mode_threaded.gif" border="0"/> {$lang->threaded}</a></li>
    <li><a href="showthread.php?mode=linear&amp;tid={$tid}&amp;pid={$pid}#pid{$pid}"><img src="$theme[imgdir]/menu/mode_linear.gif" border="0"/> {$lang->linear}</a></li></ul></li>
</ul>
</div>
<div><strong>&laquo; <a href="showthread.php?tid={$tid}&amp;action=nextoldest">{$lang->next_oldest}</a> | <a href="showthread.php?tid={$tid}&amp;action=nextnewest">{$lang->next_newest}</a> &raquo;</strong></div>
</td>
</tr>
</table>
<div style="padding-top: 4px;">
    {$newreply}{$newthread}
</div>...

Ich hab die Aufteilung verändert. Das kleine Menü für die Ansicht (Brett oder Baum) habe ich nach unten gepflanzt, und das Thema-Optionen-Menü sitzt weiterhin oben. Auf einmal wird dieses auch ordentlich dargestellt. ... warum auch immer.
Allerdings scheint der IE Probleme zu haben das Menü richtig darzustellen.
Habt ihr eine Idee wie man das beheben kann?

Hier ein Testlink: http://www.sterndeuter.org/forum/showthr...p?tid=1329

Liebe Grüße, GM!

P.S: ich habe wohl übersehen dass MyBB standardmäßig die Bildchen für Mail und Drucken hat. Die Bild-Links hab ich auf diese Standarddateien geändert.
Wer eine Wahrheit verbergen will, braucht sie nur offen auszusprechen - sie wird einem ja doch nicht geglaubt.
(Charles Talleyrand)
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Dropdownmenü wird verdeckt Meister Lampe 4 3.988 14.01.2013, 19:16
Letzter Beitrag: MrBrechreiz
  Dropdownmenü Simon 2 1.790 17.12.2011, 17:42
Letzter Beitrag: Simon
  Dropdownmenü in der Linkliste Yang0504 0 1.243 29.08.2008, 13:28
Letzter Beitrag: Yang0504