Wrap slides with an anchor tag to make them linkable.

<div id="slider">
    <a href="http://dev7studios.com"><img src="/public/img/1.jpg" alt=""></a>
    <a href="http://gilbitron.me"><img data-src="/public/img/2.jpg" src="" alt=""></a>
    <a href="http://www.google.com"><img data-src="/public/img/3.jpg" src="" alt=""></a>
    <a href="http://example.com"><img data-src="/public/img/4.jpg" src="" alt=""></a>
</div>