本文整理汇总了PHP中td_panel_generator::js_editor方法的典型用法代码示例。如果您正苦于以下问题:PHP td_panel_generator::js_editor方法的具体用法?PHP td_panel_generator::js_editor怎么用?PHP td_panel_generator::js_editor使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类td_panel_generator
的用法示例。
在下文中一共展示了td_panel_generator::js_editor方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<hr>
<div class="td-section-separator">Custom Javascript</div>
<!-- CUSTOM Javascript -->
<?php
echo td_panel_generator::box_start('Custom Javascript', false);
?>
<div class="td-box-row">
<div class="td-box-description td-box-full">
<span class="td-box-title">YOUR CUSTOM JAVASCRIPT</span>
<p>Add custom javascript easly, using this editor. Please do not include the <script> </script>.</p>
</div>
</div>
<div class="td-box-row-margin-bottom">
<?php
echo td_panel_generator::js_editor(array('ds' => 'td_option', 'option_id' => 'tds_custom_javascript'));
?>
</div>
<?php
echo td_panel_generator::box_end();
?>
<hr>
<div class="td-section-separator">Custom HTML</div>
<!-- CUSTOM HTML -->
<?php
echo td_panel_generator::box_start('Custom HTML', false);
?>
<div class="td-box-row">
<div class="td-box-description td-box-full">