To link a layer you can simply put the layer element inside an anchor element. The example below links an image layer.
<div id="masterslider" class="master-slider"> <div class="ms-slide"> <!-- .... --> <a href="http://averta.net" target="_blank"> <img class="ms-layer" data-type="image" src=".../path/to/blank.jpg" data-src=".../path/to/layer.jpg" alt=""> </a> <!-- .... --> </div> <!-- .... --> </div>