diff --git a/assets/touchTouch/arrows.png b/assets/touchTouch/arrows.png index 73fc67f..fad21a3 100644 Binary files a/assets/touchTouch/arrows.png and b/assets/touchTouch/arrows.png differ diff --git a/assets/touchTouch/touchTouch.css b/assets/touchTouch/touchTouch.css index 314919e..efe4cda 100644 --- a/assets/touchTouch/touchTouch.css +++ b/assets/touchTouch/touchTouch.css @@ -106,7 +106,7 @@ /* Arrows */ -#prevArrow,#nextArrow{ +#prevArrow,#nextArrow,#closeButton{ border:none; text-decoration:none; background:url('arrows.png') no-repeat; @@ -124,7 +124,7 @@ transition:opacity 0.2s ease; } -#prevArrow:hover, #nextArrow:hover{ +#prevArrow:hover, #nextArrow:hover, #closeButton:hover{ opacity:1; } @@ -137,3 +137,12 @@ background-position:right top; right:40px; } + +/* Enable the close button by overriding #closeButton{top:NNNpx;} in your css. Try + * 100px as a first guess if you're not sure where to position the close button. + */ +#closeButton{ + background-position:-43px 0px; + top:-1000px; + right:43px; +} diff --git a/assets/touchTouch/touchTouch.jquery.js b/assets/touchTouch/touchTouch.jquery.js index 16498e6..1c07c50 100644 --- a/assets/touchTouch/touchTouch.jquery.js +++ b/assets/touchTouch/touchTouch.jquery.js @@ -15,6 +15,7 @@ slider = $('