function views_fractionslider_style_plugin::options_form in Views FractionSlider 7
Render the given style.
Overrides views_plugin_style::options_form
File
- ./
views_fractionslider_style_plugin.inc, line 29 - Provide an fractionslider style plugin for Views. This file is autoloaded by views.
Class
- views_fractionslider_style_plugin
- Implementation of views_plugin_style().
Code
function options_form(&$form, &$form_state) {
parent::options_form($form, $form_state);
$form['dataspeed'] = array(
'#title' => t('Data Speed'),
'#description' => t('Time in ms the in transition takes. Default is 1000.'),
'#type' => 'textfield',
'#size' => '10',
'#default_value' => $this->options['dataspeed'],
);
$form['datadelay'] = array(
'#title' => t('Data Delay'),
'#description' => t('The time in ms before the in transition starts. Default is 1000.'),
'#type' => 'textfield',
'#size' => '10',
'#default_value' => $this->options['datadelay'],
);
$form['space'] = array(
'#title' => t('Field Spacing'),
'#description' => t('The Space/Gap between fields while sliding. Similar Paddin-Top. Default is 30'),
'#type' => 'textfield',
'#size' => '10',
'#default_value' => $this->options['space'],
);
$form['class'] = array(
'#title' => t('Div class'),
'#description' => t('The class to provide on the Div element itself.'),
'#type' => 'textfield',
'#size' => '30',
'#default_value' => $this->options['class'],
);
$form['pager'] = array(
'#type' => 'select',
'#title' => t('Pager'),
'#options' => array(
'true' => t('True'),
'false' => t('False'),
),
'#default_value' => $this->options['pager'],
'#description' => t('Set Pager True or False. Default is True.'),
);
$form['controls'] = array(
'#type' => 'select',
'#title' => t('Controls'),
'#options' => array(
'true' => t('True'),
'false' => t('False'),
),
'#default_value' => $this->options['controls'],
'#description' => t('Set Controls True or False. Default is True.'),
);
}