1
Vote

Make the larger display image a link

description

I wanted to link the large image(not the thumbnail image) to another page. Could anyone suggest a way for me to do this?
Tried creating an OnClick event using jquery, but I have very little any experience with the language.


html page:

<li >
         <a href="images/1.jpg" onclick="aClick('order.asp')">
            <img src="images/thumbs/t1.jpg" title="Straight Hair Sample" longdic="" alt="Straight Hair" class="image1">
          </a>
        </li>


jquery page:
<script> function aClick(url) { window.location = url; } </script>

comments