Slide Anything – Responsive Content / HTML Slider and Carousel - Version 1.6

Version Description

  • Added Slide Transition setting to set the transition of 1-Items Sliders to a 'fade', 'backSlide', 'goDown' or 'fadeUp' transition effect
  • Added checkboxes to enable/disable mouseDrag and touchDrag carousel settings
  • Some small bug fixes

=

Download this release

Release Info

Developer simonpedge
Plugin Icon 128x128 Slide Anything – Responsive Content / HTML Slider and Carousel
Version 1.6
Comparing to
See all releases

Code changes from version 1.5 to 1.6

css/admin-user-interface.min.css CHANGED
@@ -1,7 +1,7 @@
1
- /*! jQuery UI - v1.11.4 - 2015-12-12
2
- * http://jqueryui.com
3
- * Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, button.css, dialog.css, slider.css, spinner.css, tooltip.css, theme.css
4
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
5
- * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
-
7
- .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#2b2b2b;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_444444_256x240.png")}.ui-state-default .ui-icon{background-image:url("images/ui-icons_777777_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon{background-image:url("images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cc0000_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:0 0 0 0;padding:5px;background:#666;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
1
+ /*! jQuery UI - v1.11.4 - 2015-12-12
2
+ * http://jqueryui.com
3
+ * Includes: core.css, draggable.css, resizable.css, selectable.css, sortable.css, accordion.css, button.css, dialog.css, slider.css, spinner.css, tooltip.css, theme.css
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial%2CHelvetica%2Csans-serif&fsDefault=1em&fwDefault=normal&cornerRadius=3px&bgColorHeader=e9e9e9&bgTextureHeader=flat&borderColorHeader=dddddd&fcHeader=333333&iconColorHeader=444444&bgColorContent=ffffff&bgTextureContent=flat&borderColorContent=dddddd&fcContent=333333&iconColorContent=444444&bgColorDefault=f6f6f6&bgTextureDefault=flat&borderColorDefault=c5c5c5&fcDefault=454545&iconColorDefault=777777&bgColorHover=ededed&bgTextureHover=flat&borderColorHover=cccccc&fcHover=2b2b2b&iconColorHover=555555&bgColorActive=007fff&bgTextureActive=flat&borderColorActive=003eff&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=fffa90&bgTextureHighlight=flat&borderColorHighlight=dad55e&fcHighlight=777620&iconColorHighlight=777620&bgColorError=fddfdf&bgTextureError=flat&borderColorError=f1a899&fcError=5f3f3f&iconColorError=cc0000&bgColorOverlay=aaaaaa&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=666666&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=5px&offsetTopShadow=0px&offsetLeftShadow=0px&cornerRadiusShadow=8px
5
+ * Copyright jQuery Foundation and other contributors; Licensed MIT */
6
+
7
+ .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-draggable-handle{-ms-touch-action:none;touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block;-ms-touch-action:none;touch-action:none}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable{-ms-touch-action:none;touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-sortable-handle{-ms-touch-action:none;touch-action:none}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;min-height:0;font-size:100%}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-dialog{overflow:hidden;position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;-ms-touch-action:none;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Arial,Helvetica,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #ddd;background:#fff;color:#333}.ui-widget-content a{color:#333}.ui-widget-header{border:1px solid #ddd;background:#e9e9e9;color:#333;font-weight:bold}.ui-widget-header a{color:#333}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #c5c5c5;background:#f6f6f6;font-weight:normal;color:#454545}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#454545;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #ccc;background:#ededed;font-weight:normal;color:#2b2b2b}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited{color:#2b2b2b;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #003eff;background:#007fff;font-weight:normal;color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #dad55e;background:#fffa90;color:#777620}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#777620}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #f1a899;background:#fddfdf;color:#5f3f3f}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#5f3f3f}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#5f3f3f}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ui-widget-header .ui-icon{background-image:url("../images/ui-icons_444444_256x240.png")}.ui-state-default .ui-icon{background-image:url("../images/ui-icons_777777_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url("../images/ui-icons_555555_256x240.png")}.ui-state-active .ui-icon{background-image:url("../images/ui-icons_ffffff_256x240.png")}.ui-state-highlight .ui-icon{background-image:url("../images/ui-icons_777620_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("../images/ui-icons_cc0000_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:3px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:3px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:3px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:0 0 0 0;padding:5px;background:#666;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}
js/slide-anything-admin.js CHANGED
@@ -96,28 +96,30 @@ jQuery(function() {
96
  });
97
 
98
  // ##### SPECTRUM COLOR PICKER - SLIDER BACKGROUND COLOR #####
99
- var background_color = document.getElementById('sa_background_color').value;
100
- jQuery("#sa_background_color").spectrum({
101
- showPaletteOnly: true,
102
- togglePaletteOnly: true,
103
- togglePaletteMoreText: 'more',
104
- togglePaletteLessText: 'less',
105
- showInput: true,
106
- allowEmpty:true,
107
- preferredFormat: "rgb",
108
- showAlpha: true,
109
- color: background_color,
110
- palette: [
111
- ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
112
- ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
113
- ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
114
- ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
115
- ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
116
- ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
117
- ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
118
- ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
119
- ]
120
- });
 
 
121
 
122
  // ##### JQUERY-UI SPINNER - SLIDER BORDER WIDTH #####
123
  jQuery("#sa_border_width").spinner({
@@ -140,28 +142,30 @@ jQuery(function() {
140
  }
141
  });
142
  // ##### SPECTRUM COLOR PICKER - SLIDER BORDER COLOR #####
143
- var border_color = document.getElementById('sa_border_color').value;
144
- jQuery("#sa_border_color").spectrum({
145
- showPaletteOnly: true,
146
- togglePaletteOnly: true,
147
- togglePaletteMoreText: 'more',
148
- togglePaletteLessText: 'less',
149
- showInput: true,
150
- allowEmpty:true,
151
- preferredFormat: "rgb",
152
- showAlpha: true,
153
- color: border_color,
154
- palette: [
155
- ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
156
- ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
157
- ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
158
- ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
159
- ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
160
- ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
161
- ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
162
- ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
163
- ]
164
- });
 
 
165
 
166
  // ##### JQUERY-UI SPINNER - SLIDER BORDER RADIUS #####
167
  jQuery("#sa_border_radius").spinner({
@@ -421,33 +425,35 @@ function change_slide_image_repeat(slide_no) {
421
 
422
 
423
  jQuery(function() {
424
- var num_slides = parseInt(document.getElementById('num_slides_id').value);
425
- // ##### LOOP THRU EACH SLIDE #####
426
- for (i = 1; i <= num_slides; i++) {
427
- // ##### SPECTRUM COLOR PICKER - SLIDE BACKGROUND COLOR #####
428
- var color_picker_id = 'sa_slide' + i + '_image_color';
429
- var background_color = document.getElementById(color_picker_id).value;
430
- jQuery('#' + color_picker_id).spectrum({
431
- showPaletteOnly: true,
432
- togglePaletteOnly: true,
433
- togglePaletteMoreText: 'more',
434
- togglePaletteLessText: 'less',
435
- showInput: true,
436
- allowEmpty: true,
437
- preferredFormat: "rgb",
438
- showAlpha: true,
439
- color: background_color,
440
- palette: [
441
- ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
442
- ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
443
- ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
444
- ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
445
- ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
446
- ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
447
- ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
448
- ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
449
- ]
450
- });
 
 
451
  }
452
  })
453
  // ##### CHANGE EVENT HANDLER - SLIDE BACKGROUND COLOR PICKER #####
96
  });
97
 
98
  // ##### SPECTRUM COLOR PICKER - SLIDER BACKGROUND COLOR #####
99
+ if (document.getElementById('sa_background_color')) {
100
+ var background_color = document.getElementById('sa_background_color').value;
101
+ jQuery("#sa_background_color").spectrum({
102
+ showPaletteOnly: true,
103
+ togglePaletteOnly: true,
104
+ togglePaletteMoreText: 'more',
105
+ togglePaletteLessText: 'less',
106
+ showInput: true,
107
+ allowEmpty:true,
108
+ preferredFormat: "rgb",
109
+ showAlpha: true,
110
+ color: background_color,
111
+ palette: [
112
+ ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
113
+ ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
114
+ ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
115
+ ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
116
+ ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
117
+ ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
118
+ ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
119
+ ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
120
+ ]
121
+ });
122
+ }
123
 
124
  // ##### JQUERY-UI SPINNER - SLIDER BORDER WIDTH #####
125
  jQuery("#sa_border_width").spinner({
142
  }
143
  });
144
  // ##### SPECTRUM COLOR PICKER - SLIDER BORDER COLOR #####
145
+ if (document.getElementById('sa_border_color')) {
146
+ var border_color = document.getElementById('sa_border_color').value;
147
+ jQuery("#sa_border_color").spectrum({
148
+ showPaletteOnly: true,
149
+ togglePaletteOnly: true,
150
+ togglePaletteMoreText: 'more',
151
+ togglePaletteLessText: 'less',
152
+ showInput: true,
153
+ allowEmpty:true,
154
+ preferredFormat: "rgb",
155
+ showAlpha: true,
156
+ color: border_color,
157
+ palette: [
158
+ ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
159
+ ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
160
+ ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
161
+ ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
162
+ ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
163
+ ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
164
+ ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
165
+ ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
166
+ ]
167
+ });
168
+ }
169
 
170
  // ##### JQUERY-UI SPINNER - SLIDER BORDER RADIUS #####
171
  jQuery("#sa_border_radius").spinner({
425
 
426
 
427
  jQuery(function() {
428
+ if (document.getElementById('num_slides_id')) {
429
+ var num_slides = parseInt(document.getElementById('num_slides_id').value);
430
+ // ##### LOOP THRU EACH SLIDE #####
431
+ for (i = 1; i <= num_slides; i++) {
432
+ // ##### SPECTRUM COLOR PICKER - SLIDE BACKGROUND COLOR #####
433
+ var color_picker_id = 'sa_slide' + i + '_image_color';
434
+ var background_color = document.getElementById(color_picker_id).value;
435
+ jQuery('#' + color_picker_id).spectrum({
436
+ showPaletteOnly: true,
437
+ togglePaletteOnly: true,
438
+ togglePaletteMoreText: 'more',
439
+ togglePaletteLessText: 'less',
440
+ showInput: true,
441
+ allowEmpty: true,
442
+ preferredFormat: "rgb",
443
+ showAlpha: true,
444
+ color: background_color,
445
+ palette: [
446
+ ["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],
447
+ ["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],
448
+ ["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],
449
+ ["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],
450
+ ["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],
451
+ ["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],
452
+ ["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],
453
+ ["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]
454
+ ]
455
+ });
456
+ }
457
  }
458
  })
459
  // ##### CHANGE EVENT HANDLER - SLIDE BACKGROUND COLOR PICKER #####
php/slide-anything-admin.php CHANGED
@@ -55,7 +55,7 @@ function cpt_slider_plugin_activation() {
55
 
56
  }
57
  // insert meta data for the 'sample slider' configuration
58
- update_post_meta($cpt_id, 'sa_disable_visual_editor', '');
59
  update_post_meta($cpt_id, 'sa_num_slides', 8);
60
  update_post_meta($cpt_id, 'sa_slide_duration', 4);
61
  update_post_meta($cpt_id, 'sa_slide_transition', 0.3);
@@ -63,12 +63,17 @@ function cpt_slider_plugin_activation() {
63
  update_post_meta($cpt_id, 'sa_stop_hover', '1');
64
  update_post_meta($cpt_id, 'sa_nav_arrows', '1');
65
  update_post_meta($cpt_id, 'sa_pagination', '1');
 
 
 
 
66
  update_post_meta($cpt_id, 'sa_items_width1', 1);
67
  update_post_meta($cpt_id, 'sa_items_width2', 2);
68
  update_post_meta($cpt_id, 'sa_items_width3', 3);
69
  update_post_meta($cpt_id, 'sa_items_width4', 4);
70
  update_post_meta($cpt_id, 'sa_items_width5', 4);
71
  update_post_meta($cpt_id, 'sa_items_width6', 4);
 
72
  update_post_meta($cpt_id, 'sa_css_id', 'sample_slider');
73
  update_post_meta($cpt_id, 'sa_background_color', '#fafafa');
74
  update_post_meta($cpt_id, 'sa_border_width', 1);
@@ -81,7 +86,6 @@ function cpt_slider_plugin_activation() {
81
  update_post_meta($cpt_id, 'sa_slide_min_height', 100);
82
  update_post_meta($cpt_id, 'sa_slide_padding_tb', 5);
83
  update_post_meta($cpt_id, 'sa_slide_padding_lr', 5);
84
- update_post_meta($cpt_id, 'sa_shortcodes', '1');
85
  update_post_meta($cpt_id, 'sa_autohide_arrows', '1');
86
  }
87
  }
@@ -411,6 +415,19 @@ function cpt_slider_settings_content($post) {
411
  }
412
  echo "<em class='sa_tooltip' title='When checked slides will be randomly re-ordered whenever the slider is displayed'></em>";
413
  echo "</div>\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  echo "</div>\n";
415
  echo "<div class='half_width_column'>\n";
416
  // NAVIGATE ARROWS
@@ -439,18 +456,32 @@ function cpt_slider_settings_content($post) {
439
  }
440
  echo "<em class='sa_tooltip' href='' title='Display slider pagination below the slider'></em>\n";
441
  echo "</div>\n";
442
- // ALLOW SHORTCODES
443
- $shortcodes = get_post_meta($post->ID, 'sa_shortcodes', true);
444
- if ($shortcodes == '') {
445
- $shortcodes = '1';
 
446
  }
447
- echo "<div class='sa_setting_checkbox'><span>Allow Shortcodes:</span>";
448
- if ($shortcodes == '1') {
449
- echo "<input type='checkbox' id='sa_shortcodes' name='sa_shortcodes' value='1' checked/>";
450
  } else {
451
- echo "<input type='checkbox' id='sa_shortcodes' name='sa_shortcodes' value='1'/>";
452
  }
453
- echo "<em class='sa_tooltip' href='' title='NOTE: Running shortcodes in Slide Anything may cause issues with some Wordpress Page Builders'></em>\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  echo "</div>\n";
455
  echo "</div>\n";
456
  echo "<div style='clear:both; float:none; width:100%; height:1px;'></div>\n";
@@ -801,6 +832,27 @@ function cpt_slider_items_content($post) {
801
  }
802
  }
803
  echo "</select></div>\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
804
  echo "</div>\n";
805
  }
806
 
@@ -1058,8 +1110,12 @@ function cpt_slider_save_postdata() {
1058
  }
1059
 
1060
  // UPDATE SLIDER SETTINGS
1061
- update_post_meta($post->ID, 'sa_disable_visual_editor', abs(intval($_POST['sa_disable_visual_editor']))); // SANATIZE (valid integer value)
1062
  update_post_meta($post->ID, 'sa_num_slides', abs(intval($slides_saved))); // SANATIZE (valid integer value)
 
 
 
 
 
1063
  update_post_meta($post->ID, 'sa_info_added', abs(intval($_POST['sa_info_added']))); // SANATIZE (valid integer value)
1064
  update_post_meta($post->ID, 'sa_info_deleted', abs(intval($_POST['sa_info_deleted']))); // SANATIZE (valid integer value)
1065
  update_post_meta($post->ID, 'sa_duplicate_slide', abs(intval($_POST['sa_duplicate_slide']))); // SANATIZE (valid integer value)
@@ -1098,14 +1154,25 @@ function cpt_slider_save_postdata() {
1098
  } else {
1099
  update_post_meta($post->ID, 'sa_shortcodes', '0');
1100
  }
 
 
 
 
 
 
 
 
 
 
1101
 
1102
  // UPDATE SLIDER ITEMS DISPLAYED
1103
- update_post_meta($post->ID, 'sa_items_width1', abs(intval($_POST['sa_items_width1']))); // SANATIZE (valid integer value)
1104
- update_post_meta($post->ID, 'sa_items_width2', abs(intval($_POST['sa_items_width2']))); // SANATIZE (valid integer value)
1105
- update_post_meta($post->ID, 'sa_items_width3', abs(intval($_POST['sa_items_width3']))); // SANATIZE (valid integer value)
1106
- update_post_meta($post->ID, 'sa_items_width4', abs(intval($_POST['sa_items_width4']))); // SANATIZE (valid integer value)
1107
- update_post_meta($post->ID, 'sa_items_width5', abs(intval($_POST['sa_items_width5']))); // SANATIZE (valid integer value)
1108
- update_post_meta($post->ID, 'sa_items_width6', abs(intval($_POST['sa_items_width6']))); // SANATIZE (valid integer value)
 
1109
 
1110
  // UPDATE SLIDER STYLE
1111
  update_post_meta($post->ID, 'sa_css_id', sanitize_text_field($_POST['sa_css_id'])); // SANATIZE (valid text-input string)
55
 
56
  }
57
  // insert meta data for the 'sample slider' configuration
58
+ update_post_meta($cpt_id, 'sa_disable_visual_editor', '0');
59
  update_post_meta($cpt_id, 'sa_num_slides', 8);
60
  update_post_meta($cpt_id, 'sa_slide_duration', 4);
61
  update_post_meta($cpt_id, 'sa_slide_transition', 0.3);
63
  update_post_meta($cpt_id, 'sa_stop_hover', '1');
64
  update_post_meta($cpt_id, 'sa_nav_arrows', '1');
65
  update_post_meta($cpt_id, 'sa_pagination', '1');
66
+ update_post_meta($cpt_id, 'sa_shortcodes', '1');
67
+ update_post_meta($cpt_id, 'sa_random_order', '1');
68
+ update_post_meta($cpt_id, 'sa_mouse_drag', '1');
69
+ update_post_meta($cpt_id, 'sa_touch_drag', '1');
70
  update_post_meta($cpt_id, 'sa_items_width1', 1);
71
  update_post_meta($cpt_id, 'sa_items_width2', 2);
72
  update_post_meta($cpt_id, 'sa_items_width3', 3);
73
  update_post_meta($cpt_id, 'sa_items_width4', 4);
74
  update_post_meta($cpt_id, 'sa_items_width5', 4);
75
  update_post_meta($cpt_id, 'sa_items_width6', 4);
76
+ update_post_meta($cpt_id, 'sa_transition', 'fade');
77
  update_post_meta($cpt_id, 'sa_css_id', 'sample_slider');
78
  update_post_meta($cpt_id, 'sa_background_color', '#fafafa');
79
  update_post_meta($cpt_id, 'sa_border_width', 1);
86
  update_post_meta($cpt_id, 'sa_slide_min_height', 100);
87
  update_post_meta($cpt_id, 'sa_slide_padding_tb', 5);
88
  update_post_meta($cpt_id, 'sa_slide_padding_lr', 5);
 
89
  update_post_meta($cpt_id, 'sa_autohide_arrows', '1');
90
  }
91
  }
415
  }
416
  echo "<em class='sa_tooltip' title='When checked slides will be randomly re-ordered whenever the slider is displayed'></em>";
417
  echo "</div>\n";
418
+ // ALLOW SHORTCODES
419
+ $shortcodes = get_post_meta($post->ID, 'sa_shortcodes', true);
420
+ if ($shortcodes == '') {
421
+ $shortcodes = '1';
422
+ }
423
+ echo "<div class='sa_setting_checkbox'><span>Allow Shortcodes:</span>";
424
+ if ($shortcodes == '1') {
425
+ echo "<input type='checkbox' id='sa_shortcodes' name='sa_shortcodes' value='1' checked/>";
426
+ } else {
427
+ echo "<input type='checkbox' id='sa_shortcodes' name='sa_shortcodes' value='1'/>";
428
+ }
429
+ echo "<em class='sa_tooltip' href='' title='NOTE: Running shortcodes in Slide Anything may cause issues with some Wordpress Page Builders'></em>\n";
430
+ echo "</div>\n";
431
  echo "</div>\n";
432
  echo "<div class='half_width_column'>\n";
433
  // NAVIGATE ARROWS
456
  }
457
  echo "<em class='sa_tooltip' href='' title='Display slider pagination below the slider'></em>\n";
458
  echo "</div>\n";
459
+
460
+ // MOUSE DRAG
461
+ $mouse_drag = get_post_meta($post->ID, 'sa_mouse_drag', true);
462
+ if ($mouse_drag == '') {
463
+ $mouse_drag = '1';
464
  }
465
+ echo "<div class='sa_setting_checkbox'><span>Mouse Drag:</span>";
466
+ if ($mouse_drag == '1') {
467
+ echo "<input type='checkbox' id='sa_mouse_drag' name='sa_mouse_drag' value='1' checked/>";
468
  } else {
469
+ echo "<input type='checkbox' id='sa_mouse_drag' name='sa_mouse_drag' value='1'/>";
470
  }
471
+ echo "<em class='sa_tooltip' href='' title='Allow navigation to previous/next slides by holding down left mouse button and dragging left/right'></em>\n";
472
+ echo "</div>\n";
473
+ // TOUCH DRAG
474
+ $touch_drag = get_post_meta($post->ID, 'sa_touch_drag', true);
475
+ if ($touch_drag == '') {
476
+ $touch_drag = '1';
477
+ }
478
+ echo "<div class='sa_setting_checkbox'><span>Touch Drag:</span>";
479
+ if ($touch_drag == '1') {
480
+ echo "<input type='checkbox' id='sa_touch_drag' name='sa_touch_drag' value='1' checked/>";
481
+ } else {
482
+ echo "<input type='checkbox' id='sa_touch_drag' name='sa_touch_drag' value='1'/>";
483
+ }
484
+ echo "<em class='sa_tooltip' href='' title='Allow navigation to previous/next slides on mobile devices by touching screen and dragging left/right'></em>\n";
485
  echo "</div>\n";
486
  echo "</div>\n";
487
  echo "<div style='clear:both; float:none; width:100%; height:1px;'></div>\n";
832
  }
833
  }
834
  echo "</select></div>\n";
835
+ // slide transition effect
836
+ $transition = get_post_meta($post->ID, 'sa_transition', true);
837
+ if ($transition == '') {
838
+ $transition = 'fade';
839
+ }
840
+ $option_arr = array();
841
+ $option_arr[0] = 'fade';
842
+ $option_arr[1] = 'backSlide';
843
+ $option_arr[2] = 'goDown';
844
+ $option_arr[3] = 'fadeUp';
845
+ echo "<div><em class='sa_tooltip' href='' title='NOTE: Slide transitions only work when the above items displayed are ALL SET TO 1'></em>";
846
+ echo "<span style='color:firebrick !important;'>Slide Transition</span><select style='max-width:100px !important;' name='sa_transition'>";
847
+ for ($i = 0; $i < count($option_arr); $i++) {
848
+ if ($transition == $option_arr[$i]) {
849
+ echo "<option value='".esc_attr($option_arr[$i])."' selected>".esc_html($option_arr[$i])."</option>";
850
+ } else {
851
+ echo "<option value='".esc_attr($option_arr[$i])."'>".esc_html($option_arr[$i])."</option>";
852
+ }
853
+ }
854
+ echo "</select></div>\n";
855
+
856
  echo "</div>\n";
857
  }
858
 
1110
  }
1111
 
1112
  // UPDATE SLIDER SETTINGS
 
1113
  update_post_meta($post->ID, 'sa_num_slides', abs(intval($slides_saved))); // SANATIZE (valid integer value)
1114
+ if (isset($_POST['sa_disable_visual_editor']) && ($_POST['sa_disable_visual_editor'] == '1')) {
1115
+ update_post_meta($post->ID, 'sa_disable_visual_editor', '1');
1116
+ } else {
1117
+ update_post_meta($post->ID, 'sa_disable_visual_editor', '0');
1118
+ }
1119
  update_post_meta($post->ID, 'sa_info_added', abs(intval($_POST['sa_info_added']))); // SANATIZE (valid integer value)
1120
  update_post_meta($post->ID, 'sa_info_deleted', abs(intval($_POST['sa_info_deleted']))); // SANATIZE (valid integer value)
1121
  update_post_meta($post->ID, 'sa_duplicate_slide', abs(intval($_POST['sa_duplicate_slide']))); // SANATIZE (valid integer value)
1154
  } else {
1155
  update_post_meta($post->ID, 'sa_shortcodes', '0');
1156
  }
1157
+ if (isset($_POST['sa_mouse_drag']) && ($_POST['sa_mouse_drag'] == '1')) {
1158
+ update_post_meta($post->ID, 'sa_mouse_drag', '1');
1159
+ } else {
1160
+ update_post_meta($post->ID, 'sa_mouse_drag', '0');
1161
+ }
1162
+ if (isset($_POST['sa_touch_drag']) && ($_POST['sa_touch_drag'] == '1')) {
1163
+ update_post_meta($post->ID, 'sa_touch_drag', '1');
1164
+ } else {
1165
+ update_post_meta($post->ID, 'sa_touch_drag', '0');
1166
+ }
1167
 
1168
  // UPDATE SLIDER ITEMS DISPLAYED
1169
+ update_post_meta($post->ID, 'sa_items_width1', abs(intval($_POST['sa_items_width1']))); // SANATIZE (valid integer value)
1170
+ update_post_meta($post->ID, 'sa_items_width2', abs(intval($_POST['sa_items_width2']))); // SANATIZE (valid integer value)
1171
+ update_post_meta($post->ID, 'sa_items_width3', abs(intval($_POST['sa_items_width3']))); // SANATIZE (valid integer value)
1172
+ update_post_meta($post->ID, 'sa_items_width4', abs(intval($_POST['sa_items_width4']))); // SANATIZE (valid integer value)
1173
+ update_post_meta($post->ID, 'sa_items_width5', abs(intval($_POST['sa_items_width5']))); // SANATIZE (valid integer value)
1174
+ update_post_meta($post->ID, 'sa_items_width6', abs(intval($_POST['sa_items_width6']))); // SANATIZE (valid integer value)
1175
+ update_post_meta($post->ID, 'sa_transition', sanitize_text_field($_POST['sa_transition'])); // SANATIZE (valid text-input string)
1176
 
1177
  // UPDATE SLIDER STYLE
1178
  update_post_meta($post->ID, 'sa_css_id', sanitize_text_field($_POST['sa_css_id'])); // SANATIZE (valid text-input string)
php/slide-anything-frontend.php CHANGED
@@ -14,6 +14,8 @@ function slide_anything_shortcode($atts) {
14
  wp_enqueue_style('owl_carousel_css');
15
  wp_register_style('owl_theme_css', SA_PLUGIN_PATH.'owl-carousel/owl-theme.css');
16
  wp_enqueue_style('owl_theme_css');
 
 
17
 
18
  // EXTRACT SHORTCODE ATTRIBUTES
19
  extract(shortcode_atts(array(
@@ -95,6 +97,18 @@ function slide_anything_shortcode($atts) {
95
  } else {
96
  $slide_data['pagination'] = 'false';
97
  }
 
 
 
 
 
 
 
 
 
 
 
 
98
  $slide_data['items_width1'] = $metadata['sa_items_width1'][0];
99
  $slide_data['items_width2'] = $metadata['sa_items_width2'][0];
100
  $slide_data['items_width3'] = $metadata['sa_items_width3'][0];
@@ -104,6 +118,7 @@ function slide_anything_shortcode($atts) {
104
  if ($slide_data['items_width6'] == '') {
105
  $slide_data['items_width6'] = $slide_data['items_width5'];
106
  }
 
107
  $slide_data['css_id'] = $metadata['sa_css_id'][0];
108
  $slide_data['background_color'] = $metadata['sa_background_color'][0];
109
  $slide_data['border_width'] = $metadata['sa_border_width'][0];
@@ -188,7 +203,8 @@ function slide_anything_shortcode($atts) {
188
  $slide_style .= "background-size:".$slide_image_size."; ";
189
  $slide_style .= "background-repeat:".$slide_image_repeat."; ";
190
  $slide_style .= "background-color:".$slide_image_color."; ";
191
- $output .= "<div style='".esc_attr($slide_style)."'>".wp_kses_post($slide_content)."</div>\n";
 
192
  }
193
  }
194
  $output .= "</div>\n";
@@ -196,17 +212,28 @@ function slide_anything_shortcode($atts) {
196
 
197
  // GENERATE JQUERY CODE FOR THE OWL CAROUSEL SLIDER
198
  if (wp_script_is('jquery', 'done')) { // Only generate JQuery code if JQuery has been loaded
 
 
 
 
 
 
199
  $output .= "<script type='text/javascript'>\n";
200
  $output .= " jQuery(document).ready(function() {\n";
201
  $output .= " jQuery('#".esc_attr($slide_data['css_id'])."').owlCarousel({\n";
202
- $output .= " itemsCustom : [\n";
203
- $output .= " [0,".esc_attr($slide_data['items_width1'])."],\n";
204
- $output .= " [480,".esc_attr($slide_data['items_width2'])."],\n";
205
- $output .= " [768,".esc_attr($slide_data['items_width3'])."],\n";
206
- $output .= " [980,".esc_attr($slide_data['items_width4'])."],\n";
207
- $output .= " [1200,".esc_attr($slide_data['items_width5'])."],\n";
208
- $output .= " [1400,".esc_attr($slide_data['items_width6'])."]\n";
209
- $output .= " ],\n";
 
 
 
 
 
210
  $output .= " autoPlay : ".esc_attr($slide_data['slide_duration']).",\n";
211
  $output .= " paginationSpeed : ".esc_attr($slide_data['slide_transition']).",\n";
212
  $output .= " slideSpeed : ".esc_attr($slide_data['slide_transition']).",\n";
@@ -217,8 +244,8 @@ function slide_anything_shortcode($atts) {
217
  $output .= " navigationText : ['',''],\n";
218
  $output .= " pagination : ".esc_attr($slide_data['pagination']).",\n";
219
  $output .= " itemsScaleUp : false,\n";
220
- $output .= " mouseDrag : true,\n";
221
- $output .= " touchDrag : true\n";
222
  $output .= " });\n";
223
  $output .= " });\n";
224
  $output .= "</script>\n";
14
  wp_enqueue_style('owl_carousel_css');
15
  wp_register_style('owl_theme_css', SA_PLUGIN_PATH.'owl-carousel/owl-theme.css');
16
  wp_enqueue_style('owl_theme_css');
17
+ wp_register_style('owl_transitions_css', SA_PLUGIN_PATH.'owl-carousel/owl.transitions.css');
18
+ wp_enqueue_style('owl_transitions_css');
19
 
20
  // EXTRACT SHORTCODE ATTRIBUTES
21
  extract(shortcode_atts(array(
97
  } else {
98
  $slide_data['pagination'] = 'false';
99
  }
100
+ $slide_data['mouse_drag'] = $metadata['sa_mouse_drag'][0];
101
+ if ($slide_data['mouse_drag'] == '1') {
102
+ $slide_data['mouse_drag'] = 'true';
103
+ } else {
104
+ $slide_data['mouse_drag'] = 'false';
105
+ }
106
+ $slide_data['touch_drag'] = $metadata['sa_touch_drag'][0];
107
+ if ($slide_data['touch_drag'] == '1') {
108
+ $slide_data['touch_drag'] = 'true';
109
+ } else {
110
+ $slide_data['touch_drag'] = 'false';
111
+ }
112
  $slide_data['items_width1'] = $metadata['sa_items_width1'][0];
113
  $slide_data['items_width2'] = $metadata['sa_items_width2'][0];
114
  $slide_data['items_width3'] = $metadata['sa_items_width3'][0];
118
  if ($slide_data['items_width6'] == '') {
119
  $slide_data['items_width6'] = $slide_data['items_width5'];
120
  }
121
+ $slide_data['transition'] = $metadata['sa_transition'][0];
122
  $slide_data['css_id'] = $metadata['sa_css_id'][0];
123
  $slide_data['background_color'] = $metadata['sa_background_color'][0];
124
  $slide_data['border_width'] = $metadata['sa_border_width'][0];
203
  $slide_style .= "background-size:".$slide_image_size."; ";
204
  $slide_style .= "background-repeat:".$slide_image_repeat."; ";
205
  $slide_style .= "background-color:".$slide_image_color."; ";
206
+ //$output .= "<div style='".esc_attr($slide_style)."'>".wp_kses_post($slide_content)."</div>\n";
207
+ $output .= "<div style='".esc_attr($slide_style)."'>".$slide_content."</div>\n";
208
  }
209
  }
210
  $output .= "</div>\n";
212
 
213
  // GENERATE JQUERY CODE FOR THE OWL CAROUSEL SLIDER
214
  if (wp_script_is('jquery', 'done')) { // Only generate JQuery code if JQuery has been loaded
215
+ if (($slide_data['items_width1'] == 1) && ($slide_data['items_width2'] == 1) && ($slide_data['items_width3'] == 1) &&
216
+ ($slide_data['items_width4'] == 1) && ($slide_data['items_width5'] == 1) && ($slide_data['items_width6'] == 1)) {
217
+ $single_item = 1;
218
+ } else {
219
+ $single_item = 0;
220
+ }
221
  $output .= "<script type='text/javascript'>\n";
222
  $output .= " jQuery(document).ready(function() {\n";
223
  $output .= " jQuery('#".esc_attr($slide_data['css_id'])."').owlCarousel({\n";
224
+ if ($single_item == 1) {
225
+ $output .= " singleItem : true,\n";
226
+ $output .= " transitionStyle : '".esc_attr($slide_data['transition'])."',\n";
227
+ } else {
228
+ $output .= " itemsCustom : [\n";
229
+ $output .= " [0,".esc_attr($slide_data['items_width1'])."],\n";
230
+ $output .= " [480,".esc_attr($slide_data['items_width2'])."],\n";
231
+ $output .= " [768,".esc_attr($slide_data['items_width3'])."],\n";
232
+ $output .= " [980,".esc_attr($slide_data['items_width4'])."],\n";
233
+ $output .= " [1200,".esc_attr($slide_data['items_width5'])."],\n";
234
+ $output .= " [1400,".esc_attr($slide_data['items_width6'])."]\n";
235
+ $output .= " ],\n";
236
+ }
237
  $output .= " autoPlay : ".esc_attr($slide_data['slide_duration']).",\n";
238
  $output .= " paginationSpeed : ".esc_attr($slide_data['slide_transition']).",\n";
239
  $output .= " slideSpeed : ".esc_attr($slide_data['slide_transition']).",\n";
244
  $output .= " navigationText : ['',''],\n";
245
  $output .= " pagination : ".esc_attr($slide_data['pagination']).",\n";
246
  $output .= " itemsScaleUp : false,\n";
247
+ $output .= " mouseDrag : ".esc_attr($slide_data['mouse_drag']).",\n";
248
+ $output .= " touchDrag : ".esc_attr($slide_data['touch_drag'])."\n";
249
  $output .= " });\n";
250
  $output .= " });\n";
251
  $output .= "</script>\n";
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: simonpedge
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RP7JLGK6VT252
4
  Tags: carousel, content slider, owl carousel, responsive slider, html slider
5
  Requires at least: 4.0
6
- Tested up to: 4.4.1
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -91,6 +91,11 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
91
  * Bug Fix: Fixed issue with some HTML elements/attributes being stripped out when certain shortcodes are used within slide content - found an alternative to KSES sanitization for slide content.
92
  * Added a new dropdown option 'Background Position' for the slide background of each slide
93
 
 
 
 
 
 
94
  == Upgrade Notice ==
95
 
96
  = 1.0 =
@@ -114,3 +119,8 @@ The `SLIDE STYLE` settings are the style settings for each individual slide with
114
  = 1.5 =
115
  * Bug Fix: Fixed issue with some HTML elements/attributes being stripped out when certain shortcodes are used within slide content - found an alternative to KSES sanitization for slide content.
116
  * Added a new dropdown option 'Background Position' for the slide background of each slide
 
 
 
 
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RP7JLGK6VT252
4
  Tags: carousel, content slider, owl carousel, responsive slider, html slider
5
  Requires at least: 4.0
6
+ Tested up to: 4.4.2
7
  Stable tag: trunk
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
91
  * Bug Fix: Fixed issue with some HTML elements/attributes being stripped out when certain shortcodes are used within slide content - found an alternative to KSES sanitization for slide content.
92
  * Added a new dropdown option 'Background Position' for the slide background of each slide
93
 
94
+ = 1.6 =
95
+ * Added `Slide Transition` setting to set the transition of 1-Items Sliders to a 'fade', 'backSlide', 'goDown' or 'fadeUp' transition effect
96
+ * Added checkboxes to enable/disable `mouseDrag` and `touchDrag` carousel settings
97
+ * Some small bug fixes
98
+
99
  == Upgrade Notice ==
100
 
101
  = 1.0 =
119
  = 1.5 =
120
  * Bug Fix: Fixed issue with some HTML elements/attributes being stripped out when certain shortcodes are used within slide content - found an alternative to KSES sanitization for slide content.
121
  * Added a new dropdown option 'Background Position' for the slide background of each slide
122
+
123
+ = 1.6 =
124
+ * Added `Slide Transition` setting to set the transition of 1-Items Sliders to a 'fade', 'backSlide', 'goDown' or 'fadeUp' transition effect
125
+ * Added checkboxes to enable/disable `mouseDrag` and `touchDrag` carousel settings
126
+ * Some small bug fixes
slide-anything.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://wordpress.org/support/plugin/slide-anything
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
- * Version: 1.5
8
  * License: GPLv2 or later
9
  */
10
 
4
  * Plugin URI: https://wordpress.org/support/plugin/slide-anything
5
  * Description: Slide Anything allows you to create a carousel/slider where the content for each slide can be anything you want - images, text, HTML, and even shortcodes. This plugin uses the Owl Carousel jQuery plugin, and lets you create beautiful, touch enabled, responsive carousels and sliders.
6
  * Author: Simon Edge
7
+ * Version: 1.6
8
  * License: GPLv2 or later
9
  */
10