It is currently Thu Feb 22, 2024 7:02 pm

All times are UTC

Forum rules

Please click here to view the forum rules

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Option Script?
PostPosted: Mon Mar 31, 2008 10:50 pm 
Getting Started
Getting Started

Joined: Tue Jul 10, 2007 11:50 pm
Posts: 146
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>


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderators: Moderators, Support Team

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011