Verfasst: 03.07.2008 01:36
Jup, darunter 

phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
4seven hat geschrieben:
finde (beispiel )
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
ersetze mit
-----info-----Code: Alles auswählen
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" onmouseover="tip('{L_BBCODE_B_HELP}', OFFSETY, 22)" onmouseout="untip()" />
Code: Alles auswählen
OFFSETY, 22
gibt den abstand vom cursor zum tooltip nach unten an (y- achse)
-----info-----
für custom bbcodes
finde
ersetze mit<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
lgCode: Alles auswählen
<!-- BEGIN custom_tags --> <input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" onmouseover="tip('{custom_tags.BBCODE_HELPLINE}', OFFSETY, 22)" onmouseout="untip()" /> /> <!-- END custom_tags -->
4seven
Code: Alles auswählen
%s#title="\({[._a-zA-Z]*}\)"#onmouseover="tip('\1', OFFSETY, 22)" onmouseout="untip()"
Jup, das läuft da anders, wäre aber leicht umzubauen:dieweltist hat geschrieben:Beim Style subsilver2 funktionieren diese Änderungen aber leider nicht.
............
Ich sehe auch jetzt, dass das beim Style subsilver2 anders funktioniert. Anstatt eines Tooltipps wird es in der Leiste darunter dauerhaft angezeigt. Nur schade, dass da kein Zeilenumbruch möglich ist. Wenn der User sein Fenster nicht breit genug machen kann, sieht er ggf. leider nicht die gesamte Info.
Code: Alles auswählen
<input type="button" class="btnbbcode" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" onmouseout="helpline('tip')" />
Code: Alles auswählen
<input type="button" class="btnbbcode" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="tip('{L_BBCODE_B_HELP}', OFFSETY, 22)" onmouseout="untip()" />
Code: Alles auswählen
<!-- BEGIN custom_tags -->
<input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> />
<!-- END custom_tags -->
Code: Alles auswählen
<!-- BEGIN custom_tags -->
<input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" onmouseover="tip('{custom_tags.BBCODE_HELPLINE}', OFFSETY, 22)" onmouseout="untip()" />
<!-- END custom_tags -->