2
Contributors
4
Replies
23
Views
4 Years
Discussion Span
Last Post by Julia25
0

Please try this.I have checked this in your jsfiddle and it is working fine there.

   <div class="container">

<div class="slider">
    <img src="http://placehold.it/300x300" class="placeholder"  onclick="window.location.href = 'http://www.google.com'">
    <img src="http://placekitten.com/300/300"  onclick="window.location.href = 'http://www.google.com'">
    <img src="http://placekitten.com/300/299"  onclick="window.location.href = 'http://www.google.com'">
    <img src="http://placekitten.com/300/298"  onclick="window.location.href = 'http://www.google.com'">        
</div>

<div class="content">
    Random content, resize this window to see how it works          
</div>

</div>

Edited by IIM

0

oh yes! i forgot to add the jquery link in my html. Thanks!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.