@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | // Flexslider options |
134 | 134 | $animate = ($this->owner->Animate) ? 'true' : 'false'; |
135 | 135 | $loop = ($this->owner->Loop) ? 'true' : 'false'; |
136 | - $sync = ($this->owner->ThumbnailNav == true) ? "sync: '.carousel:eq('+index+')'," : ''; |
|
136 | + $sync = ($this->owner->ThumbnailNav==true) ? "sync: '.carousel:eq('+index+')'," : ''; |
|
137 | 137 | $before = (method_exists($this->owner->ClassName, 'flexSliderBeforeAction')) |
138 | 138 | ? $this->owner->flexSliderBeforeAction() |
139 | 139 | : 'function(){}'; |
@@ -151,39 +151,39 @@ discard block |
||
151 | 151 | |
152 | 152 | if(jQuery('.carousel').eq(index).length) { |
153 | 153 | jQuery('.carousel').eq(index).flexslider({ |
154 | - animation: '" . $this->owner->Animation . "', |
|
155 | - controlNav: " . $this->owner->obj('CarouselDirectionNav')->NiceAsBoolean() . ", |
|
156 | - directionNav: " . $this->owner->obj('CarouselDirectionNav')->NiceAsBoolean() . ", |
|
157 | - animationLoop: " . $this->owner->obj('Loop')->NiceAsBoolean() . ", |
|
158 | - slideshow: " . $this->owner->obj('Animate')->NiceAsBoolean() . ", |
|
159 | - itemWidth: " . $this->owner->obj('CarouselItemWidth') . ", |
|
154 | + animation: '" . $this->owner->Animation."', |
|
155 | + controlNav: " . $this->owner->obj('CarouselDirectionNav')->NiceAsBoolean().", |
|
156 | + directionNav: " . $this->owner->obj('CarouselDirectionNav')->NiceAsBoolean().", |
|
157 | + animationLoop: " . $this->owner->obj('Loop')->NiceAsBoolean().", |
|
158 | + slideshow: " . $this->owner->obj('Animate')->NiceAsBoolean().", |
|
159 | + itemWidth: " . $this->owner->obj('CarouselItemWidth').", |
|
160 | 160 | pausePlay: false, |
161 | 161 | asNavFor: '.flexslider:eq('+index+')', |
162 | - itemMargin: " . $this->owner->obj('CarouselItemMargin') . ", |
|
163 | - minItems: " . $this->owner->obj('CarouselThumbnailCt') . ", |
|
164 | - maxItems: " . $this->owner->obj('CarouselThumbnailCt') . ", |
|
165 | - move: " . $this->owner->obj('CarouselThumbnailCt') . " |
|
162 | + itemMargin: " . $this->owner->obj('CarouselItemMargin').", |
|
163 | + minItems: " . $this->owner->obj('CarouselThumbnailCt').", |
|
164 | + maxItems: " . $this->owner->obj('CarouselThumbnailCt').", |
|
165 | + move: " . $this->owner->obj('CarouselThumbnailCt')." |
|
166 | 166 | }); |
167 | 167 | } |
168 | 168 | |
169 | 169 | if(jQuery('.flexslider').eq(index).length){ |
170 | 170 | jQuery('.flexslider').eq(index).flexslider({ |
171 | - slideshow: " . $this->owner->obj('Animate')->NiceAsBoolean() . ", |
|
172 | - animation: '" . $this->owner->Animation . "', |
|
173 | - animationLoop: " . $this->owner->obj('Loop')->NiceAsBoolean() . ", |
|
174 | - controlNav: " . $this->owner->obj('SliderControlNav')->NiceAsBoolean() . ", |
|
175 | - directionNav: " . $this->owner->obj('SliderDirectionNav')->NiceAsBoolean() . ", |
|
171 | + slideshow: " . $this->owner->obj('Animate')->NiceAsBoolean().", |
|
172 | + animation: '" . $this->owner->Animation."', |
|
173 | + animationLoop: " . $this->owner->obj('Loop')->NiceAsBoolean().", |
|
174 | + controlNav: " . $this->owner->obj('SliderControlNav')->NiceAsBoolean().", |
|
175 | + directionNav: " . $this->owner->obj('SliderDirectionNav')->NiceAsBoolean().", |
|
176 | 176 | prevText: '', |
177 | 177 | nextText: '', |
178 | 178 | pauseOnAction: true, |
179 | 179 | pauseOnHover: true, |
180 | - " . $sync . " |
|
180 | + " . $sync." |
|
181 | 181 | start: function(slider){ |
182 | 182 | $('body').removeClass('loading'); |
183 | 183 | }, |
184 | - before: " . $before . ', |
|
185 | - after: ' . $after . ', |
|
186 | - slideshowSpeed: ' . $speed . ' |
|
184 | + before: " . $before.', |
|
185 | + after: ' . $after.', |
|
186 | + slideshowSpeed: ' . $speed.' |
|
187 | 187 | }); |
188 | 188 | } |
189 | 189 | }) |