modelinfo = new Array( new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Jobs", '0001'), new Array("Clothes", '0002'), new Array("Good Habits", '0003'), new Array("Myself and Family", '0004'), new Array("Around the House", '0005'), new Array("Feelings", '0006') ), new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Dinosaurs", '0007'), new Array("Wild Animals", '0008'), new Array("Farm Animals", '0009'), new Array("Insects&Spider", '0010') ), new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Food", '0011'), new Array("Fruits&Vegetables", '0012') ), new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Opposites", '0013'), new Array("Alphabet Letters", '0014'), new Array("Numbers", '0015') ), new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Colors", '0016'), new Array("Shapes", '0017') ), new Array( new Array("¼ÒÁÖÁ¦ º¸±â" ,'' ), new Array("Halloween", '0018'), new Array("Christmas", '0019') ));function SelectFromArray(selectCtrl, itemArray, goodPrompt, badPrompt, defaultItem) { var i, j; var prompt; var modelinfo; // empty existing items for (i = selectCtrl.options.length; i >= 0; i--) { selectCtrl.options[i] = null; } prompt = (itemArray != null) ? goodPrompt : badPrompt; if (prompt == null) { j = 0; } else { selectCtrl.options[0] = new Option(prompt); j = 1; } if (itemArray != null) { // add new items for (i = 0; i < itemArray.length; i++) { selectCtrl.options[j] = new Option(itemArray[i][0]); if (itemArray[i][1] != null) { selectCtrl.options[j].value = itemArray[i][1]; } j++; } // select first item (prompt) for sub list selectCtrl.options[0].selected = true; }} | | | | | Å«ÁÖÁ¦ º¸±â All about Me Animals&Insects Food Letters And Numbers Shapes&Colors Holidays ¼ÒÁÖÁ¦ º¸±â ÇÏÀ§ÁÖÁ¦ º¸±â »çÀüÀû Ç¥Çö/±âº» °³³ä ¿Â¶óÀÎ °ü·Ã ¸µÅ© ±×¸²Ã¥/±³Àç ¼Ò°³ ¿µ¾î´ëÈ/¾×ƼºñƼ |
| | | | |
|