FreeHostia Forums

Option Script?
Page 1 of 1

Author:  marcus_at_trillium [ Mon Mar 31, 2008 10:50 pm ]
Post subject:  Option Script?

I was able to find a script a long time ago, to put together this nifty thing

But I cant remember the name of it. What I want to do now is make one with two select dropdowns, so that one dropdown will define the item, and the other dropdown will define the color, I am trying to make something like this:

My Current Code For the Codestone Viewer
<img name="pet_image" src="" height="80" width="80"><br>
function update_pet_caption() { 
  pet_caption300 = document.option_form.caption300.value; 
  document.pet_image.src = "" + pet_caption300 + ".gif";
  return true;
<form name="option_form" method="post" onchange="update_pet_caption()">

<span class="style1">
<select name="caption300" onchange="update_pet_caption()">
<option value="1">Mau</option>
<option value="2">Tai-Kai</option>
<option value="3">Lu</option>

<option value="4">Vo</option>

<option value="5">Eo</option>
<option value="6">Main</option>
<option value="7">Zei</option>
<option value="8">Orn</option>
<option value="9">Har</option>
<option value="10">Bri</option>
<option value="11">Mag</option>

<option value="12">Vux</option>
<option value="13">Cui</option>

<option value="14">Kew</option>
<option value="15">Sho</option>
<option value="16">Zed</option>

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group