本文整理汇总了PHP中functions::selectedValueDropdown方法的典型用法代码示例。如果您正苦于以下问题:PHP functions::selectedValueDropdown方法的具体用法?PHP functions::selectedValueDropdown怎么用?PHP functions::selectedValueDropdown使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类functions
的用法示例。
在下文中一共展示了functions::selectedValueDropdown方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
>Century Gothic</option>
<option value="Impact" <?php
echo functions::selectedValueDropdown($component_times->font, 'Impact');
?>
>Impact</option>
<option value="Tahoma" <?php
echo functions::selectedValueDropdown($component_times->font, 'Tahoma');
?>
>Tahoma</option>
<option value="Times New Roman" <?php
echo functions::selectedValueDropdown($component_times->font, 'Times New Roman');
?>
>Times New Roman</option>
<option value="Verdana" <?php
echo functions::selectedValueDropdown($component_times->font, 'Verdana');
?>
>Verdana</option>
</select>
Size: <input name="time_component_font_size[]" class="delay_input" type="text" style="width:20px;" value="<?php
echo $component_times->font_size;
?>
">
Bold:<input type="checkbox" value="b" class="font-style-b" style="width:20px;" <?php
echo functions::checkedCheckbox('b', $component_times->font_style);
?>
/>
<input type="hidden" name="time_component_font_style[]" value="<?php
echo $component_times->font_style;
?>
" >
示例2: dropDownValueScrollSpeed
public function dropDownValueScrollSpeed($selected_value = NULL)
{
$render = '
<option value="0" ' . functions::selectedValueDropdown($selected_value, '0') . '>0</option>
<option value="1" ' . functions::selectedValueDropdown($selected_value, '1') . '>1</option>
<option value="2" ' . functions::selectedValueDropdown($selected_value, '2') . '>2</option>
<option value="5" ' . functions::selectedValueDropdown($selected_value, '5') . '>5</option>
<option value="8" ' . functions::selectedValueDropdown($selected_value, '8') . '>8</option>
<option value="10" ' . functions::selectedValueDropdown($selected_value, '10') . '>10</option>
<option value="13" ' . functions::selectedValueDropdown($selected_value, '13') . '>13</option>
<option value="15" ' . functions::selectedValueDropdown($selected_value, '15') . '>15</option>
<option value="18" ' . functions::selectedValueDropdown($selected_value, '18') . '>18</option>
<option value="20" ' . functions::selectedValueDropdown($selected_value, '20') . '>20</option>
<option value="25" ' . functions::selectedValueDropdown($selected_value, '25') . '>25</option>
<option value="30" ' . functions::selectedValueDropdown($selected_value, '30') . '>30</option>';
return $render;
}
示例3:
?>
>Century Gothic</option>
<option value="Impact" <?php
echo functions::selectedValueDropdown($time_component_font, 'Impact');
?>
>Impact</option>
<option value="Tahoma" <?php
echo functions::selectedValueDropdown($time_component_font, 'Tahoma');
?>
>Tahoma</option>
<option value="Times New Roman" <?php
echo functions::selectedValueDropdown($time_component_font, 'Times New Roman');
?>
>Times New Roman</option>
<option value="Verdana" <?php
echo functions::selectedValueDropdown($time_component_font, 'Verdana');
?>
>Verdana</option>
</select>
Size: <input name="time_component_font_size" class="delay_input" type="text" style="width:20px;" value="<?php
echo $time_component_font_size;
?>
" />
<div class="jPickerPosition"><input name="time_component_font_color" class="Multiple" type="hidden" style="width:60px;" value="<?php
echo functions::jPickerTransparent($time_component_font_color);
?>
" />
</div>
</div>
</td>
<td class="layout_settings_input" align="center">
示例4:
?>
>Century Gothic</option>
<option value="Impact" <?php
echo functions::selectedValueDropdown($dstemplate_times->font, 'Impact');
?>
>Impact</option>
<option value="Tahoma" <?php
echo functions::selectedValueDropdown($dstemplate_times->font, 'Tahoma');
?>
>Tahoma</option>
<option value="Times New Roman" <?php
echo functions::selectedValueDropdown($dstemplate_times->font, 'Times New Roman');
?>
>Times New Roman</option>
<option value="Verdana" <?php
echo functions::selectedValueDropdown($dstemplate_times->font, 'Verdana');
?>
>Verdana</option>
</select>
Size: <input name="time_component_font_size[]" class="delay_input" type="text" style="width:20px;" value="<?php
echo $dstemplate_times->font_size;
?>
" />
Bold:<input type="checkbox" value="b" class="font-style-b" style="width:20px;" <?php
echo functions::checkedCheckbox('b', $dstemplate_times->font_style);
?>
/>
<input type="hidden" name="time_component_font_style[]" value="<?php
echo $dstemplate_times->font_style;
?>
" >
示例5:
echo url::base();
?>
media/images/add-icon.png" border="0">
<?php
}
?>
</a>
</div>
<div class="pl_item_text_img_align_holder">
<select name="pl_item_text_img_align[]" class="class_pl_item_text_img_align">
<option value="left" <?php
echo functions::selectedValueDropdown($playlist_contents->image_alignment, 'left');
?>
>Left</option>
<option value="right" <?php
echo functions::selectedValueDropdown($playlist_contents->image_alignment, 'right');
?>
>Right</option></select>
</select>
</div>
<div class="pl_item_remove_holder">
<a class="remove_pl_item"><img src="<?php
echo url::base();
?>
media/images/delete-16x16.png" border="0"></a>
</div>
</div>
<input type="hidden" name="pl_item_filename[]" value="<?php
echo $playlist_contents->id;
?>
">