Oob24
ist dann vlt. eine von diesen methoden möglich oder anders gesagt weißt du den code dafür...
1.Wenn ich auf den Link klick geht das ding auf geh ich dann mit der maus weg von dem Menü gehts wieder zu.
2.Wenn ich über den Link drüber fahr geht das menü auf und wenn ich dann mit der maus weg von dem menü gehe gehts zu.
The P
beide dieser möglichkeiten sind möglich..
lade bitte deine headinclude.tpl und die thread_postbit.tpl hoch und sag mir welche der varianten du haben willst dan mache ich dir das!
Oob24
um ehrlich zu sein brauch ich eher den code.brauch den für etwas anderes.also ich will das auf einem image-link anwenden.
The P
damit öffnet sich das menü nur wenn du auf options clickst:
code: |
1:
|
<a href="#" onmouseover="javascript:show('threadmenue_$posts[postid]');"> |
|
ersetze dies durch:
code: |
1:
|
<a href="javascript:show('threadmenue_$posts[postid]');"> |
|
das menü schließt sich eh automatisch wenn man mit der maus weg geht.
aber du must dan nurnoch den kasten wo das optionsbild aus dem menü entfernen und das wahrs...
Sebastian
kannst du mir vielleicht noch erklären wie ich das hin kriege das die käsen immer egal wie groß sie sind oben in einer reihe stehen?
The P
die stehen doch in einer reihe oder nich?
Sebastian
nö nur wenn sie groß sind

ist die linke z.B kleiner als die rechte wird die linke zentriert.
MmM
wenn ich Oob24 richtig verstanden habe, soll das menü schließen, sobald die maus sich davon entfernt.
das ist wieder nicht so einfach, da das ganze über onmouseover-befehle gesteuert wird. du müsst über irgendetwas (schrift, bild) rüberfahren mit der maus, damit sich das menü öffnet oder schließt. aber einfach mit der maus weg vom menü geht so nicht (nicht ohne eine komplexe funktion dafür zu schreiben, die mit map rect arbeitet :> )
aber ich kann mich ja auch irren und du meinst das so simpel wie es sein könnte, mit zweimal onmouseover..
Oob24
theP: irgendwie geht das nicht, ich muss erst zweimal ausserhalb des menüs auf den background klicken damits zugeht.
mmm: ja so hätt ichs gern. vlt. kann man sich auch einwenig hilfe beim acp menü holen wenn man nämlich über einstellungen fährt^^
The P
das menü schließt sich nach 2 secunden wen du mit der maus weg bist automatisch! wen es sofort schließen sollte hättest du keine zeit vom options button ins menü zu gelangen und das ist ein schmarn...
das ist der code aus meinem forum mit dem es 100% in einer reihe seien muss weil wenn eine box größer wird eine unsichtbare tabelle lang gezogen wird und sich die boxen auf 100% ziehen...
CODE:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
|
<div id="threadmenue_$posts[postid]" style="position:relative; right:5px; top5px; display:none">
<hr class="tableinborder" height="1">
<table width="99%">
<tr width="100%">
<td width="50%">
<table cellspacing="1" width="100%" align="right" cellpadding="4" border="0" bgcolor="#7D7D7D" >
<tr class="font">
<td bgcolor="#FFFFFF" width="100%%" class="$tdclass">
<span class="smallfont"><b>User Informationen:</b></span><br />
<if($posts['showemail']==1)><then><span class="smallfont"><b>»</b> <a href="mailto:$posts[email]">
{$LANG_MEMBERS_SENDEMAIL}</a></span><br /></then>
<else>
<if($posts['usercanemail']==1)><then><span class="smallfont"><b>»</b> <a href="formmail.php?userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_SENDEMAIL}</a></span><br /></then></if></else></if>
<if($posts['homepage'])><then><span class="smallfont"><b>»</b> <a href="$posts[homepage]" target="_blank">
{$LANG_MEMBERS_HOMEPAGE}</a></span><br /></then></if>
<span class="smallfont"><b>»</b> <a href="search.php?action=user&userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_SEARCH}</a></span><br />
<span class="smallfont"><b>»</b> <a href="usercp.php?action=buddy&add=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_BUDDY}</a></span><br />
<span class="smallfont"><if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><b>»</b> <a href="pms.php?action=newpm&userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_PM}</a></span><br /></then></if>
<if($posts['icq'])><then><span class="smallfont"><b>»</b> <a href="http://wwp.icq.com/scripts/search.dll?to=$posts[icq]">
{$LANG_MEMBERS_ICQ}</a></span><br /></then></if>
<if($posts['aim'])><then><span class="smallfont"><b>»</b> <a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?">
{$LANG_MEMBERS_AIM}</a></span><br /></then></if>
<if($posts['yim'])><then><span class="smallfont"><b>»</b> <a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&.src=pg">
{$LANG_MEMBERS_YIM}</a></span><br /></then></if>
<if($posts['msn'])><then><span class="smallfont"><b>»</b> <a href="http://members.msn.com/?mem=$posts[msn]">
{$LANG_MEMBERS_MSN}</a></span><br /></then></if></else></if></then></if>
</td>
</tr>
</table>
</td>
<td width="50%" height="100%">
<table cellspacing="1" cellpadding="4" border="0" bgcolor="#7D7D7D" height="100%" width="100%">
<tr class="font">
<td bgcolor="#FFFFFF" class="$tdclass">
<span class="smallfont"><b>Beitrag Informationen:</b></span><br />
<span class="smallfont"><b>»</b> <a href="addreply.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_REPLYPOST']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="addreply.php?postid=$posts[postid]&action=quote&sid=$session[hash]">
{$lang->items['LANG_THREAD_QUOTE']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="editpost.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_EDITPOST']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="report.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_REPORT']}</a></span><br />
<if($wbbuserdata['a_can_view_ipaddress']==1)><then><span class="smallfont"><b>»</b> <a href="misc.php?action=viewip&postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_VIEWIP']}</a></span><br /></then></if>
</td>
</tr>
</table>
<td width="50%" height="100%">
<table cellspacing="1" cellpadding="4" border="0" bgcolor="#7D7D7D" height="100%" width="5%">
<tr>
<td bgcolor="#FFFFFF" class="$tdclass">
<a href="#" onmouseover="javascript:hide('threadmenue_$posts[postid]');">
<img src="images/close.jpg" border="0"></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
|
|
wenn das net klappt kan ich ez auch nemmer helfen tut mir leid....
und ez sollten die extrawünsche langsam aufhören weil das ja nur ein kleines addon und kein wie will ich meine threadansich haben thread ist!
Sebastian
sollte ja nur ein vorschlag für die nächste version sein
und nein auhc mit deinem code ist das nicht in einer reihe
The P
ohh... ich dachte der code währe richtig... ich habe wohl was vergessen nimm mal den:
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
|
<div id="threadmenue_$posts[postid]" style="position:relative; right:5px; top5px; display:none">
<hr class="tableinborder" height="1">
<table width="99%">
<tr width="100%">
<td width="50%">
<table height="100%" cellspacing="1" width="100%" align="right" cellpadding="4" border="0" bgcolor="#7D7D7D" >
<tr class="font">
<td bgcolor="#FFFFFF" width="100%%" class="$tdclass">
<span class="smallfont"><b>User Informationen:</b></span><br />
<if($posts['showemail']==1)><then><span class="smallfont"><b>»</b> <a href="mailto:$posts[email]">
{$LANG_MEMBERS_SENDEMAIL}</a></span><br /></then>
<else>
<if($posts['usercanemail']==1)><then><span class="smallfont"><b>»</b> <a href="formmail.php?userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_SENDEMAIL}</a></span><br /></then></if></else></if>
<if($posts['homepage'])><then><span class="smallfont"><b>»</b> <a href="$posts[homepage]" target="_blank">
{$LANG_MEMBERS_HOMEPAGE}</a></span><br /></then></if>
<span class="smallfont"><b>»</b> <a href="search.php?action=user&userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_SEARCH}</a></span><br />
<span class="smallfont"><b>»</b> <a href="usercp.php?action=buddy&add=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_BUDDY}</a></span><br />
<span class="smallfont"><if($posts['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><b>»</b> <a href="pms.php?action=newpm&userid=$posts[userid]&sid=$session[hash]">
{$LANG_MEMBERS_PM}</a></span><br /></then></if>
<if($posts['icq'])><then><span class="smallfont"><b>»</b> <a href="http://wwp.icq.com/scripts/search.dll?to=$posts[icq]">
{$LANG_MEMBERS_ICQ}</a></span><br /></then></if>
<if($posts['aim'])><then><span class="smallfont"><b>»</b> <a href="aim:goim?screenname=$posts[aim]&message=Hi.+Are+you+there?">
{$LANG_MEMBERS_AIM}</a></span><br /></then></if>
<if($posts['yim'])><then><span class="smallfont"><b>»</b> <a href="http://edit.yahoo.com/config/send_webmesg?.target=$posts[yim]&.src=pg">
{$LANG_MEMBERS_YIM}</a></span><br /></then></if>
<if($posts['msn'])><then><span class="smallfont"><b>»</b> <a href="http://members.msn.com/?mem=$posts[msn]">
{$LANG_MEMBERS_MSN}</a></span><br /></then></if></else></if></then></if>
</td>
</tr>
</table>
</td>
<td width="50%" height="100%">
<table cellspacing="1" cellpadding="4" border="0" bgcolor="#7D7D7D" height="100%" width="100%">
<tr class="font">
<td bgcolor="#FFFFFF" class="$tdclass">
<span class="smallfont"><b>Beitrag Informationen:</b></span><br />
<span class="smallfont"><b>»</b> <a href="addreply.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_REPLYPOST']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="addreply.php?postid=$posts[postid]&action=quote&sid=$session[hash]">
{$lang->items['LANG_THREAD_QUOTE']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="editpost.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_EDITPOST']}</a></span><br />
<span class="smallfont"><b>»</b> <a href="report.php?postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_REPORT']}</a></span><br />
<if($wbbuserdata['a_can_view_ipaddress']==1)><then><span class="smallfont"><b>»</b> <a href="misc.php?action=viewip&postid=$posts[postid]&sid=$session[hash]">
{$lang->items['LANG_THREAD_VIEWIP']}</a></span><br /></then></if>
</td>
</tr>
</table>
<td width="50%" height="100%">
<table cellspacing="1" cellpadding="4" border="0" bgcolor="#7D7D7D" height="100%" width="5%">
<tr>
<td bgcolor="#FFFFFF" class="$tdclass">
<a href="#" onmouseover="javascript:hide('threadmenue_$posts[postid]');">
<img src="images/close.jpg" border="0"></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
|
|
Scorpio
Hi,
ich hab des jetzt mal so gemacht (mauszeiger steht grad auf options),
kann ich doch so verwenden oder? (also ohne diese andere optic?)
mfg
Scorpio
alien288
gibts keine demo dafür??
Myxin
Hallo,
aus irgendeinem Grund wird bei mir die Menü-Funktion nicht angezeigt!
Hat da vielleicht jemand eine Idee?
Board ist leider ein 2.1.5er aber da muss es doch ne Möglichkeit geben, oder!?
Myxin
Hat keiner ne Idee wie ich das in meinem wbb2.1.5 zum laufen bekomme?
Myxin
Anscheinend gibt der Thread-Ersteller keinen Support mehr für den genialen Hack. Hat vielleicht jemand anderes eine Idee, wie ich das Problem lösen kann?