Skip to content
Browse files

added parameter autopaly_scrollable

  • Loading branch information...
1 parent 5e5c01b commit a6852564bf53e88ee7c33f99bd85b92c4faa9e56 @PapePathe PapePathe committed Nov 9, 2010
Showing with 17 additions and 4 deletions.
  1. +7 −2 build.xml
  2. +9 −1 mod_xws_content/mod_xws_content.xml
  3. +1 −1 mod_xws_content/tmpl/scrollable-horizontal/default.php
View
9 build.xml
@@ -45,9 +45,14 @@
</target>
- <target name="installer" depends="copy_to_test_env">
+ <target name="installer">
+
+ <echo msg="Deleting old archive" />
+
+ <delete file="build/build.tar.gz" />
+
<echo msg="Creating xws content archive..." />
-
+
<tar destfile="build/build.tar.gz" compression="gzip">
<fileset refid="installer_files" />
</tar>
View
10 mod_xws_content/mod_xws_content.xml
@@ -97,9 +97,17 @@
<params group="other">
- <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Scrollable Vertical Configuration ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
+ <!--
+ Scrollable Vertical Configuration
+ -->
+
+ <param name="autoplay_scrollable" type="radio" default="1" label="XWS_autoplay_scrollable_LABEL" description="XWS_autoplay_scrollable_DESC">
+ <option value="1">YES</option>
+ <option value="0">NO</option>
+ </param>
<param name="scrollableVerticalHeight" type="text" default="400" label="SCROLLABLE_VERTICAL_HEIGHT_LABEL"
description="SCROLLABLE_VERTICAL_HEIGHT_DESC" />
+
<param name="scrollableVerticalItemHeight" type="text" default="200" label="SCROLLABLE_VERTICAL_ITEM_HEIGHT_LABEL"
description="SCROLLABLE_VERTICAL_ITEM__DESC" />
View
2 mod_xws_content/tmpl/scrollable-horizontal/default.php
@@ -57,7 +57,7 @@
speed: 1400
})
.autoscroll({
- autoplay: true
+ autoplay: " . $params->get('autoplay_scrollable') . "
});
jQuery.xwsReadmore.buildButtons({

0 comments on commit a685256

Please sign in to comment.
Something went wrong with that request. Please try again.