HTML
<div class="cycle-slideshow" id="cycle-1" style="float:left;"
data-cycle-fx=scrollHorz
data-cycle-timeout=3000 >
<img src="./responsive/img/java1.gif">
<img src="./responsive/img/java2.gif">
<img id="trigger" src="./responsive/img/clown.gif">
<img src="./responsive/img/java4.gif">
</div>
<div id="target" style="position:absolute;top:50px;left:350px">
<img src="./responsive/img/java5.gif">
</div>
The slideshow works. I want to hide the static image (id="target") when the clown image is active in the slider and make it visible again when any other image is active in the slider
the jQuery function is something like this when clown image is active:
$('#target').css('visibility','hidden');
I did a JsFiddle: http://jsfiddle.net/mapsylno/nA9Yx/4/