PATH:
home
/
lab2454c
/
elementalrock.com
/
wp-content
/
plugins
/
zahar-core
/
ReduxCore
/
inc
/
fields
/
switch
!function(t){"use strict";redux.field_objects=redux.field_objects||{},redux.field_objects.switch=redux.field_objects.switch||{},t(document).ready(function(){}),redux.field_objects.switch.init=function(e){e||(e=t(document).find(".redux-group-tab:visible").find(".redux-container-switch:visible")),t(e).each(function(){var s=t(this),e=s;s.hasClass("redux-field-container")||(e=s.parents(".redux-field-container:first")),e.is(":hidden")||e.hasClass("redux-field-init")&&(e.removeClass("redux-field-init"),s.find(".cb-enable").click(function(){if(!t(this).hasClass("selected")){var e=t(this).parents(".switch-options");t(".cb-disable",e).removeClass("selected"),t(this).addClass("selected"),t(".checkbox-input",e).val(1).trigger("change"),redux_change(t(".checkbox-input",e));var i=".f_"+t(this).data("id");s.find(i).slideDown("normal","swing")}}),s.find(".cb-disable").click(function(){if(!t(this).hasClass("selected")){var e=t(this).parents(".switch-options");t(".cb-enable",e).removeClass("selected"),t(this).addClass("selected"),t(".checkbox-input",e).val(0).trigger("change"),redux_change(t(".checkbox-input",e));var i=".f_"+t(this).data("id");s.find(i).slideUp("normal","swing")}}),s.find(".cb-enable span, .cb-disable span").find().attr("unselectable","on"))})}}(jQuery);
[-] field_switch.php
[edit]
[-] field_switch.js
[edit]
[+]
..
[-] field_switch.scss
[edit]
[-] switch.gif
[edit]
[-] field_switch.css
[edit]
[-] slider-control.png
[edit]
[-] field_switch.css.map
[edit]
[-] .htaccess
[edit]
[-] field_switch.min.js
[edit]