bbcode DropDown einzeln?
Verfasst: 19.11.2011 14:15
Hallo ich suche ein bbcode DropDown auswahl , aber einzeln der den man über Google findet Packt alle bbcodes ind das DropDown.
Gruß
Gruß
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: 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})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
Code: Alles auswählen
<select onchange="if(this.selectedIndex > 0) { bbstyle(parseInt(this.options[this.selectedIndex].value, 10)); this.selectedIndex = 0; }">
<option value=""></option>
<option value="22">ID_TAG22</option>
<option value="24">ID_TAG24</option>
<option value="26">ID_TAG26</option>
</select>
Code: Alles auswählen
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
<option value="50">{L_FONT_TINY}</option>
<option value="85">{L_FONT_SMALL}</option>
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
<option value="150">{L_FONT_LARGE}</option>
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
<option value="200">{L_FONT_HUGE}</option>
<!-- ENDIF -->
<!-- ENDIF -->
</select>
Code: Alles auswählen
<span class="genmed nowrap">
<select class="select_class" name="addbbcode_custom" class="gensmall" onchange="bbstyle(this.form.addbbcode_custom.options[this.form.addbbcode_custom.selectedIndex].value*1);this.form.addbbcode_custom.selectedIndex = 0;">
<option selected="selected" value="">BBCodes</option>
<!-- BEGIN custom_tags -->
<!-- IF custom_tags.BBCODE_TAG == 'youtube' or custom_tags.BBCODE_TAG == 'myvideo' or custom_tags.BBCODE_TAG == 'yahoovideo' -->
<option value="{custom_tags.BBCODE_ID}" onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')" title="{custom_tags.BBCODE_HELPLINE}">{custom_tags.BBCODE_TAG}</option>
<!-- ENDIF -->
<!-- END custom_tags -->
</select>
</span>
youtube
myvideo
yahoovideo
Code: Alles auswählen
<!-- IF custom_tags.BBCODE_TAG == 'youtube' or custom_tags.BBCODE_TAG == 'myvideo' or custom_tags.BBCODE_TAG == 'yahoovideo' -->
Code: 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})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
Code: Alles auswählen
<!-- BEGIN custom_tags -->
<!-- IF custom_tags.BBCODE_TAG !== 'youtube' or custom_tags.BBCODE_TAG !== 'myvideo' or custom_tags.BBCODE_TAG !== 'yahoovideo' -->
<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}" />
<!-- ENDIF -->
<!-- END custom_tags -->
Code: Alles auswählen
<!-- IF custom_tags.BBCODE_TAG !== 'youtube' or custom_tags.BBCODE_TAG !== 'myvideo' or custom_tags.BBCODE_TAG !== 'yahoovideo' -->