Is it possible to have the reference from a link determine what the source of an image will be?
I currently have a page with 30 links. The HTML follows this methodology:
<li><a href="#0001">Link 1</a></li>
<li><a href="#0002">Link 2</a></li>
<li><a href="#0030">Link 30</a></li>
With that, I'm wanting to change the source of the image. For instance, if someone clicks on Link 1, I want the image URL to be ../image0001.jpg. Link 2 being ../image0002.jpg etc.
Thanks in advance.