JavaScript in HTML, Function for a WebComic List

Hi Guys, still new on programming.

You see, in HTML/JS, I want to make a WebComic List for Visitors to just open the list and click on a Series.
Here is the Current Code for the JS…

<script language="JavaScript">
  function ver() {
    if (!document.images) return;
    var archivo = document.images.img.src = document.comics.series.options[document.comics.series.selectedIndex].value;
    document.images.img.src = archivo;
    alert(archivo);
  }
</script>

And here is the viewer (I want to use tables because it offers a brief description of the series).

<form name="comics" align="center">
   <select name="series" size="1" onChange="ver()">
     <option value="Imagenes/stockade.png">Stockade</option>
     <option value="img/krudo.jpg">Axolotl</option>
     <option value="img/tard.jpg">Rookies</option>
  </select>
</form>
<br>
<br>
<img src="Imagenes/stockade.png" name="img" width="300" border="10">

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

Also, you should try an use either 2 space or 4 space indentation to make your code more readable for others. I have formatted your code to use 2 space indentation.

Not exactly sure what your question is. If you have a problem can you explain what steps we need to take to see the problem? Or are you trying to do something else than what you have here? You need to give us as much detail as possible.

Well, what I want is to make something like this…

But with a Table containing text and an image… and if possible, a link to another part of the site (Not yet Made).