| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 var ap_colorInput, ap_fieldSelector, ap_selectedField; 2 window.onload = function() { 3 if( !document.getElementById("ap_colorvalue") ) return; 4 ap_colorInput = document.getElementById("ap_colorvalue"); 5 ap_fieldSelector = document.getElementById("ap_fieldselector"); 6 ap_selectField(); 7 ap_setPagebgField(); 8 setInterval( ap_updateColors, 1000 ); 9 } 10 function ap_selectField() { 11 ap_selectedField = ap_fieldSelector.options[ap_fieldSelector.selectedIndex].value; 12 ap_colorInput.value = document.getElementById("ap_" + ap_selectedField + "color").value; 13 } 14 function ap_updateColors() { 15 document.getElementById("ap_" + ap_selectedField + "color").value = ap_colorInput.value; 16 var audioplayer = document.getElementById("audioplayer1"); 17 audioplayer.SetVariable(ap_selectedField, ap_colorInput.value.replace("#", "0x")); 18 audioplayer.SetVariable("setcolors", 1); 19 } 20 function ap_setPagebgField() { 21 var bgField = document.getElementById("ap_pagebgcolor"); 22 if(document.getElementById("ap_transparentpagebg").checked) { 23 bgField.disabled = true; 24 bgField.style.color = "#999999"; 25 } else { 26 bgField.disabled = false; 27 bgField.style.color = "#000000"; 28 } 29 } 30 function ap_stopAll(a) { 31 return; 32 } 33 function ap_startUpgradeWizard() { 34 var ap_upgrade = window.open( ap_updateURL, "ap_upgrade", "width=500,height=270,status=no" ); 35 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |