本文整理汇总了PHP中ui_add_effects_support函数的典型用法代码示例。如果您正苦于以下问题:PHP ui_add_effects_support函数的具体用法?PHP ui_add_effects_support怎么用?PHP ui_add_effects_support使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了ui_add_effects_support函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: use_helper
<?php
use_helper('ysJQueryRevolutions');
use_helper('ysJQueryAutocomplete');
use_helper('ysJQueryUIDialog');
use_helper('ysJQueryUICore');
ui_add_effects_support('blind');
?>
<div style="width: 920px;margin-left: auto; margin-right: auto;">
<?php
echo ui_init_content_panel(array('class' => 'ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable'));
?>
<?php
echo ui_init_title(array('icon' => 'newwin', 'class' => 'ui-widget-header ui-corner-all', 'style' => 'top: 3px; left: 20px; height:20px;font-family: arial'));
?>
Registre los datos para la busqueda
<?php
echo ui_end_title();
?>
<?php
echo ui_init_content();
?>
<form id="myForm" action="#">
<table align="center" style="width: 100%;padding:10px;">
<tr>
<td>CODIGO : </td>
<td>
<input type="text" id="dat_sie_operativos_ue" name="dat_sie_operativos[ue]" size="10" maxlength="8" onkeydown="return validarNumero(event);" />
<td>SUB CEA:
</td>
<td>
示例2: use_helper
<head>
<?php
use_helper('ysJQueryRevolutions');
?>
<?php
use_helper('ysJQueryUILayout');
?>
<?php
use_helper('ysJQueryUIMenu');
?>
<?php
use_helper('ysJQueryUIDraggable');
?>
<?php
ui_add_effects_support(array('bounce', 'slide', 'drop', 'scale'));
?>
<?php
use_stylesheet('/ysJQueryUIPlugin/css/complex.css');
?>
<?php
include_http_metas();
?>
<?php
include_metas();
?>
<?php
include_title();
?>
<?php
include_stylesheets();
示例3: use_helper
<?php
use_helper('ysJQueryDollarRevolutions');
use_helper('ysJQueryUITabs');
use_helper('ysJQueryUIAccordion');
use_helper('ysJQueryUIProgressbar');
ui_add_effects_support('bounce');
use_helper('ysUtil');
?>
<style type="text/css">
#tabs { margin-top: 1em; }
#tabs li .ui-icon-close { float: left; margin: 0.4em 0.2em 0 0; cursor: pointer; }
</style>
<?php
echo ui_link_button(array('id' => 'btnTabsListener', 'value' => 'Listener'));
?>
<br><br>
<div class="demo">
<?php
ui_tabs_init_panel('tabPanelId', array('listener' => array('selector' => '#btnTabsListener', 'event' => 'click', 'after' => like_function(jquery_execute_effect('#tabPanelId', 'show'))), 'selected' => 2, 'disabled' => array(2), 'sortable' => true, 'fx' => array('opacity' => 'toggle', 'duration' => 'slow'), 'unselect' => true, 'collapsible' => false), 'style="display:none"');
?>
<?php
ui_tabs_init();
?>
<?php
ui_tab('myTab1', 'Lorem ipsum');
?>
<?php
示例4: _ui_datepicker_pattern
//.........这里部分代码省略.........
}
if (isset($configuration['dayNamesShort'])) {
$pattern .= toJQueryOption('dayNamesShort', $configuration['dayNamesShort']);
}
if (isset($configuration['defaultDate'])) {
$pattern .= toJQueryOption('defaultDate', $configuration['defaultDate']);
}
if (isset($configuration['firstDay'])) {
$pattern .= toJQueryOption('firstDay', $configuration['firstDay']);
}
if (isset($configuration['gotoCurrent'])) {
$pattern .= toJQueryOption('gotoCurrent', $configuration['gotoCurrent']);
}
if (isset($configuration['hideIfNoPrevNext'])) {
$pattern .= toJQueryOption('hideIfNoPrevNext', $configuration['hideIfNoPrevNext']);
}
if (isset($configuration['isRTL'])) {
$pattern .= toJQueryOption('isRTL', $configuration['isRTL']);
}
if (isset($configuration['maxDate'])) {
$pattern .= toJQueryOption('maxDate', $configuration['maxDate']);
}
if (isset($configuration['minDate'])) {
$pattern .= toJQueryOption('minDate', $configuration['minDate']);
}
if (isset($configuration['monthNames'])) {
$pattern .= toJQueryOption('monthNames', $configuration['monthNames']);
}
if (isset($configuration['monthNamesShort'])) {
$pattern .= toJQueryOption('monthNamesShort', $configuration['monthNamesShort']);
}
if (isset($configuration['navigationAsDateFormat'])) {
$pattern .= toJQueryOption('navigationAsDateFormat', $configuration['navigationAsDateFormat']);
}
if (isset($configuration['nextText'])) {
$pattern .= toJQueryOption('nextText', $configuration['nextText']);
}
if (isset($configuration['numberOfMonths'])) {
$pattern .= toJQueryOption('numberOfMonths', $configuration['numberOfMonths']);
}
if (isset($configuration['prevText'])) {
$pattern .= toJQueryOption('prevText', $configuration['prevText']);
}
if (isset($configuration['shortYearCutoff'])) {
$pattern .= toJQueryOption('shortYearCutoff', $configuration['shortYearCutoff']);
}
if (isset($configuration['showAnim'])) {
$pattern .= toJQueryOption('showAnim', $configuration['showAnim']);
ui_add_effects_support($configuration['showAnim']);
}
if (isset($configuration['showButtonPanel'])) {
$pattern .= toJQueryOption('showButtonPanel', $configuration['showButtonPanel']);
}
if (isset($configuration['showCurrentAtPos'])) {
$pattern .= toJQueryOption('showCurrentAtPos', $configuration['showCurrentAtPos']);
}
if (isset($configuration['showMonthAfterYear'])) {
$pattern .= toJQueryOption('showMonthAfterYear', $configuration['showMonthAfterYear']);
}
if (isset($configuration['showOn'])) {
$pattern .= toJQueryOption('showOn', $configuration['showOn']);
}
if (isset($configuration['showOptions'])) {
$pattern .= toJQueryOption('showOptions', $configuration['showOptions']);
}
if (isset($configuration['showOtherMonths'])) {
$pattern .= toJQueryOption('showOtherMonths', $configuration['showOtherMonths']);
}
if (isset($configuration['stepMonths'])) {
$pattern .= toJQueryOption('stepMonths', $configuration['stepMonths']);
}
if (isset($configuration['yearRange'])) {
$pattern .= toJQueryOption('yearRange', $configuration['yearRange']);
}
//EVENTS SUPPORT
if (isset($configuration['beforeShow'])) {
$pattern .= toJQueryOption('beforeShow', $configuration['beforeShow']);
}
if (isset($configuration['beforeShowDay'])) {
$pattern .= toJQueryOption('beforeShowDay', $configuration['beforeShowDay']);
}
if (isset($configuration['onChangeMonthYear'])) {
$pattern .= toJQueryOption('onChangeMonthYear', $configuration['onChangeMonthYear']);
}
if (isset($configuration['onClose'])) {
$pattern .= toJQueryOption('onClose', $configuration['onClose']);
}
if (isset($configuration['beforeShow'])) {
$pattern .= toJQueryOption('beforeShow', $configuration['beforeShow']);
}
if (isset($configuration['onSelect'])) {
$pattern .= toJQueryOption('onSelect', $configuration['onSelect']);
}
if ($pattern != '{') {
$pattern = substr($pattern, 0, strlen($pattern) - 1);
}
$pattern .= '}';
}
return $pattern;
}
示例5: _ui_effects_pattern
/**
* Internal function
* @param array() $configuration Configuration array
*/
function _ui_effects_pattern($configuration)
{
$args = "";
if (is_array($configuration) && sizeof($configuration) > 0) {
if (isset($configuration['effect'])) {
$args = sprintf("'%s',", $configuration['effect']);
ui_add_effects_support($configuration['effect']);
}
if (isset($configuration['options'])) {
$args .= sprintf("'%s',", json_encode($configuration['options']));
} else {
$args .= '{},';
}
if (isset($configuration['speed'])) {
$durationpattern = "'%s',";
if (is_numeric($configuration['speed'])) {
$durationpattern = "%s,";
}
} else {
$args .= "'normal',";
}
if (isset($configuration['callback'])) {
$args .= sprintf("%s,", $configuration['callback']);
}
$args = substr($args, 0, strlen($args) - 1);
}
return $args;
}