Code: Alles auswählen
/* The dropdownboxes/
select.dropdown, select.dropdown:link, select.dropdown:visited,
select.dropdown:active, select.dropdown:hover {
background:#000000 url(images/Walterhintergrund2.gif);
border:1px solid #990000; border-style:ridge;
color:#CC0000;
display:block;
float:left;
font:normal 11px Verdana, Arial, Helvetica, sans-serif;
margin-right:5px;
margin-top:5px;
text-align:center;
text-decoration:none;
width:75px;
Code: Alles auswählen
<select class="dropdown" name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
<option style="color:{T_FONTCOLOR1}; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select>
außerdem hätte ich noch ne frage für die smilieanzeige
kann man die smilies als bilder in den templateordner machen und dann in der postinng_body jeweils auf diese verweisen
und wenn man dann draufdrückt einfach der code für den smilies erscheint?
also ungefähr so:
Code: Alles auswählen
<select class="dropdown" name="smilies">
<option onclick="{smilie in textbox schrieben}" style="color:{T_FONTCOLOR1}; background-color: {T_TD_COLOR1}" class="genmed"><img src="templates/subHellsing/images/smilies/traurig.gif />traurig</option>