home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 April / PCWorld_2008-04_cd.bin / multimedia / mediacoder / MediaCoder-0.6.0.3905.exe / extensions / iPod.7z / ipod.js < prev    next >
Text File  |  2007-04-27  |  484b  |  19 lines

  1. function Refresh()
  2. {
  3.     var x = document.getElementById("resmode1").checked;
  4.     document.getElementById("res").disabled = !x;
  5.     document.getElementById("width").disabled = x;
  6.     document.getElementById("height").disabled = x;
  7.     
  8.     x = document.getElementById("hasVideo").checked;
  9.     document.getElementById("video").disabled = !x;
  10.  
  11.     x = document.getElementById("hasAudio").checked;
  12.     document.getElementById("audio").disabled = !x;
  13. }
  14.  
  15. function onElementChange()
  16. {
  17.     Refresh();
  18. }
  19.