Hello!
Sorry  but i just started  with Jquery and hereby ask for your
Support:

<script type="text/javascript">
$(document).ready(function() {
$('#desperation input[type=image]').attr('disabled', true).fadeTo
("fast", 0.10);
$('#1').attr('disabled', false).fadeTo("fast", 0.70);
});



$('#1').toggle(
  function () {
    $('#1').click(function() {
                $('#1').fadeTo("fast", 1.00).attr('checked', true);
                $('#2').attr('disabled', false);
         });
  },
  function () {
    $('#1').click(function() {
                $('#1').fadeTo("fast", 0.70).attr('checked', false);
                $('#2').attr('disabled', true);
        });
  }
);

</script>
<div id="skill">
<form action="javascript:void(null);" method="post"
enctype="application/x-www-form-urlencoded" id="skillplanner"
name="skillplanner" >
<fieldset id="desperation"><legend>Freetrader Skills: Desperation</
legend>
<input type="image" src="files/icons/underdog.png" id="1"></input>
<input type="image" src="files/icons/dump_guns.png" id="2"></input>
<input type="image" src="files/icons/desperation_fire.png" id="3"></
input>
<input type="image" src="files/icons/rum_ration.png" id="4"></input>
<input type="image" src="files/icons/hasty_fire.png" id="5"></input>
</fieldset>
</form>
</div>

the problem is  with the toggle function. on click it should "check"
clicked one  and  activate next one.
function doesnt work  and  i dont have a clue....

Reply via email to