YaWK  24.1
Yet another WebKit
admin.js File Reference

Go to the source code of this file.

Functions

document ready (function() { $('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();$('#gid-legend').change(function(){ if($('#gid-legend').val()=='0') { $('#0_hidden').fadeIn();$('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();} else { $('#0_hidden').hide();$('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();} if($('#gid-legend').val()=='5') { $('#5_hidden').fadeIn();} if($('#gid-legend').val()=='4') { $('#4_hidden').fadeIn();} if($('#gid-legend').val()=='3') { $('#3_hidden').fadeIn();} if($('#gid-legend').val()=='2') { $('#2_hidden').fadeIn();} if($('#gid-legend').val()=='1') { $('#1_hidden').fadeIn();} });})
 

Function Documentation

◆ ready()

document ready ( function() { $('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();$('#gid-legend').change(function(){ if($('#gid-legend').val()=='0') { $('#0_hidden').fadeIn();$('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();} else { $('#0_hidden').hide();$('#1_hidden').hide();$('#2_hidden').hide();$('#3_hidden').hide();$('#4_hidden').hide();$('#5_hidden').hide();} if($('#gid-legend').val()=='5') { $('#5_hidden').fadeIn();} if($('#gid-legend').val()=='4') { $('#4_hidden').fadeIn();} if($('#gid-legend').val()=='3') { $('#3_hidden').fadeIn();} if($('#gid-legend').val()=='2') { $('#2_hidden').fadeIn();} if($('#gid-legend').val()=='1') { $('#1_hidden').fadeIn();} });}  )