It is currently Thu May 25, 2017 1:19 am


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
http://www.snowneo.com/lists/codestone.php

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:
http://www.neoitems.net/petcolours.php



My Current Code For the Codestone Viewer
Code:
<img name="pet_image" src="http://images.NeoPets.com/items/codestone4.gif" height="80" width="80"><br>
<script><!--
function update_pet_caption() { 
  pet_caption300 = document.option_form.caption300.value; 
  document.pet_image.src = "http://images.NeoPets.com/items/codestone" + pet_caption300 + ".gif";
  return true;
}
//-->
</script>
<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>
</select>
</span>

_________________
http://www.snowneo.com


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

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:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011