From: stephen@cubedesigners.com Date: Mon, 8 Jun 2015 13:31:28 +0000 (+0000) Subject: Fix home page slideshow to work with updated slideshow.js script. Also fix a typo... X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f060f6e539d37f32426598e55533f0fc987a050c;p=cubedesigners-v7.git Fix home page slideshow to work with updated slideshow.js script. Also fix a typo in slideshow.js for width setting on responsive slideshows. --- diff --git a/framework/application/views/helpers/HomeSlideshow.php b/framework/application/views/helpers/HomeSlideshow.php index 2072bf8..79c3bc5 100644 --- a/framework/application/views/helpers/HomeSlideshow.php +++ b/framework/application/views/helpers/HomeSlideshow.php @@ -41,7 +41,7 @@ class Cubedesigners_View_Helper_HomeSlideshow extends CubeIT_View_Helper_Abstrac $s .= $this->view->htmlElement($mask . $this->view->linkCMS($link), 'div', $attributes); } - $options = array('arrows' => true, 'arrowspermanent' => true, 'autoMode' => true, 'transitionType' => 'slide', 'baseHeight' => 572); + $options = array('arrows' => true, 'arrowspermanent' => true, 'autoMode' => true, 'transitionType' => 'slide', 'baseHeight' => 572, 'responsive' => true); $res .= $this->htmlElement($s, 'div', array('class' => 'slides slideshow', 'data-options' => $options)); $res .= '';