Site hosted by Angelfire.com: Build your free website today!
' + newline; outText += '' + newline; if (document.form1.no_js.checked == true) { outText += makeWimpyHTML(wimpyConfigs_c_Write); } else { outText += makeWimpyJS(wimpyConfigs_c_Write); } outText += '' + newline; outText += '' + newline; outText += '' + newline; document.form_full.c.value = outText; } // Configs function outputConfigsXML() { var outText = ""; outText += '' + newline; for (prop in wimpyConfigs_c_Write) { var val = wimpyConfigs_c_Write[prop]; if(prop == "playlist"){ if(val != ""){ var pl = preparePlaylist(val); outText += "" + newline; outText += pl outText += "" + newline; } } else if (prop != "wimpyJS" && prop != "wimpyInstall" ) { outText += "<" + prop + ">" + val + "" + newline; } } outText += '' + newline; document.form_xml.c.value = outText; } ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ///// //////////////////////////////////////////////////////// ///// Open Close //////////////////////////////////////////////////////// ///// //////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// Adocs = new Array(); Adocs[Adocs.length] = "menu_reg"; Adocs[Adocs.length] = "menu_basic"; Adocs[Adocs.length] = "menu_startup"; Adocs[Adocs.length] = "menu_display"; Adocs[Adocs.length] = "menu_advanced"; function openClose(theID){ closeAllButMe(theID) var x=document.getElementById(theID); if(x.style.display == "block"){ x.style.display = "none"; }else{ x.style.display = "block"; } javascript:scroll(0,0); } function closeAllButMe(me){ for(var i=0;i= 0) { x.style.height = height + "px"; } offsetTop = 0; var c = document.getElementById("divCode"); var p = c.offsetParent yPos = winHeight - c.offsetHeight; xPos = x.offsetWidth if (yPos >= 0) { c.style.left = xPos + "px" c.style.top = yPos + "px" } } function getWindowHeight() { if (window.self && self.innerHeight){ return self.innerHeight; } if (document.documentElement && document.documentElement.clientHeight) { return document.documentElement.clientHeight; } return 0; } /////////////////////////////////////////////////// /////////////////////////////////////////////////// ///// ///// ///// Misc ///// ///// ///// /////////////////////////////////////////////////// /////////////////////////////////////////////////// function stripWhiteSpace(string_in) { return string_in.split("\n").join("").split("\t").join("").split("%0A").join("").split("%09").join(""); } function isNull(theValue) { if (theValue == "" || theValue == undefined || theValue == "undefined" || theValue == null) { return true; } else { return false; } } function path_parts(thePath) { var protocol = ""; if(thePath.substring(0,4) == "http"){ protocol = thePath.substring(0, thePath.indexOf("/")) + "//"; thePath = thePath.substring(thePath.indexOf("/") + 2, thePath.length); } if(thePath.lastIndexOf("/") == thePath.length-1){ thePath = thePath.substr(0, thePath.length-1); } var filepathA = thePath.split("/"); var filename = filepathA.pop(); var filepathB = filename.split("."); var extension = ""; if (filepathB.length > 1) { extension = filepathB.pop(); } var basename = filepathB.join("."); if(extension == ""){ filepathA.push(filename); } var mybasepath = filepathA.join("/"); if(mybasepath.length > 0){ mybasepath = mybasepath + "/"; } //if(thePath == wimpyInstallURL){ // //} var Oret = new Object(); Oret.filename = filename; Oret.extension = extension; Oret.basename = basename; Oret.basepath = protocol + mybasepath; Oret.filepath = protocol + thePath; return Oret; } function in_array(haystack, needle) { for (var p in haystack) { var item = haystack[p].toString().toLowerCase(); var val = needle.toString().toLowerCase(); if (item == val) { return true; } } return false; } /////////////////////////////////////////////////// /////////////////////////////////////////////////// ///// ///// ///// Debug ///// ///// ///// /////////////////////////////////////////////////// /////////////////////////////////////////////////// function displayObjectSingle(returnedObject){ var retText = ""; for(var prop in returnedObject){ retText += "" + prop + ' : ' + returnedObject[prop] + "
"; } return (retText); } function displayObject(returnedObject){ var retText = ""; for(var prop in returnedObject){ var value = returnedObject[prop]; if(typeof(value) == "object"){ retText += displayObject(value); } else { retText += "" + prop + ' : ' + value + "
"; } } return (retText); } function writeit(text,id){ if (document.getElementById) { var wimpyDoc = document.getElementById(id); wimpyDoc.innerHTML = ''; wimpyDoc.innerHTML = text; } else if (document.all) { var wimpyDoc = document.all[id]; wimpyDoc.innerHTML = text; } else if (document.layers) { var wimpyDoc = document.layers[id]; text2 = '

' + text + '

'; wimpyDoc.document.open(); wimpyDoc.document.write(text2); wimpyDoc.document.close(); } } function writeHTML(text,id){ if (document.getElementById) { var wimpyDoc = document.getElementById(id); wimpyDoc.innerHTML = ''; wimpyDoc.innerHTML = text; } else if (document.all) { var wimpyDoc = document.all[id]; wimpyDoc.innerHTML = text; } else if (document.layers) { var wimpyDoc = document.layers[id]; text2 = '

' + text + '

'; wimpyDoc.document.open(); wimpyDoc.document.write(text2); wimpyDoc.document.close(); } } function writeitAppend(text,id){ if (document.getElementById) { var wimpyDoc = document.getElementById(id); wimpyDoc.innerHTML += "
" + text; } else if (document.all) { var wimpyDoc = document.all[id]; wimpyDoc.innerHTML += "
" + text; } else if (document.layers) { var wimpyDoc = document.layers[id]; text2 += "
" + text; wimpyDoc.document.open(); wimpyDoc.document.write(text2); wimpyDoc.document.close(); } } // =================================================================== // Color Picker derived from Matt Kruse's color picker: // http://www.mattkruse.com/ // =================================================================== function ColorPicker_open(){ writeHTML(cp_contents, "divColorPicker"); var x = document.getElementById("divColorPicker"); x.style.visibility="visible"; } function ColorPicker_close(){ writeHTML("", "divColorPicker"); } function ColorPicker_pickColor(color){ ColorPicker_close(); if(color!=null){ document.form1.bkgdColor.value = color; } } function ColorPicker_set(){ ColorPicker_highlightColor(document.form1.bkgdColor.value); } function ColorPicker_highlightColor(c){ var thedoc =(arguments.length>1)?arguments[1]:window.document; var d = thedoc.getElementById("colorPickerSelectedColor"); d.style.backgroundColor = c; } var cp_contents = ""; function makeColorPicker(){ var colors = new Array("#FFFFFF","#FFFFFF","#F8F8F8","#F0F0F0","#E8E8E8","#E0E0E0","#D8D8D8","#D0D0D0","#C8C8C8","#C0C0C0","#B8B8B8","#B0B0B0","#A8A8A8","#A0A0A0","#989898","#909090","#888888","#808080","#787878","#707070","#686868","#606060","#585858","#505050","#484848","#404040","#383838","#303030","#282828","#202020","#000000","#000000","#F0DBDB","#F5D6D6","#FCCFCF","#FFCCCC","#E0B8B8","#EBADAD","#FA9E9E","#FF9999","#D19494","#E08585","#F76E6E","#FF6666","#C27070","#D65C5C","#F53D3D","#FF3333","#B24D4D","#CC3333","#F20D0D","#FF0000","#8F3D3D","#A32929","#C20A0A","#CC0000","#6B2E2E","#7A1F1F","#910808","#990000","#471F1F","#521414","#610505","#660000","#F0E6DB","#F5E6D6","#FCE6CF","#FFE6CC","#E0CCB8","#EBCCAD","#FACC9E","#FFCC99","#D1B294","#E0B285","#F7B26E","#FFB266","#C29970","#D6995C","#F5993D","#FF9933","#B2804D","#CC8033","#F2800D","#FF8000","#8F663D","#A36629","#C2660A","#CC6600","#6B4C2E","#7A4C1F","#914C08","#994C00","#47331F","#523314","#613305","#663300","#F0F0DB","#F5F5D6","#FCFCCF","#FFFFCC","#E0E0B8","#EBEBAD","#FAFA9E","#FFFF99","#D1D194","#E0E085","#F7F76E","#FFFF66","#C2C270","#D6D65C","#F5F53D","#FFFF33","#B2B24D","#CCCC33","#F2F20D","#FFFF00","#8F8F3D","#A3A329","#C2C20A","#CCCC00","#6B6B2E","#7A7A1F","#919108","#999900","#47471F","#525214","#616105","#666600","#E6F0DB","#E6F5D6","#E6FCCF","#E6FFCC","#CCE0B8","#CCEBAD","#CCFA9E","#CCFF99","#B2D194","#B3E085","#B3F76E","#B3FF66","#99C270","#99D65C","#99F53D","#99FF33","#80B24D","#80CC33","#80F20D","#80FF00","#668F3D","#66A329","#66C20A","#66CC00","#4D6B2E","#4D7A1F","#4D9108","#4D9900","#33471F","#335214","#336105","#336600","#DBF0DB","#D6F5D6","#CFFCCF","#CCFFCC","#B8E0B8","#ADEBAD","#9EFA9E","#99FF99","#94D194","#85E085","#6EF76E","#66FF66","#70C270","#5CD65C","#3DF53D","#33FF33","#4DB24D","#33CC33","#0DF20D","#00FF00","#3D8F3D","#29A329","#0AC20A","#00CC00","#2E6B2E","#1F7A1F","#089108","#009900","#1F471F","#145214","#056105","#006600","#DBF0E6","#D6F5E6","#CFFCE6","#CCFFE6","#B8E0CC","#ADEBCC","#9EFACC","#99FFCC","#94D1B2","#85E0B3","#6EF7B3","#66FFB3","#70C299","#5CD699","#3DF599","#33FF99","#4DB280","#33CC80","#0DF280","#00FF80","#3D8F66","#29A366","#0AC266","#00CC66","#2E6B4D","#1F7A4D","#08914D","#00994D","#1F4733","#145233","#056133","#006633","#DBF0F0","#D6F5F5","#CFFCFC","#CCFFFF","#B8E0E0","#ADEBEB","#9EFAFA","#99FFFF","#94D1D1","#85E0E0","#6EF7F7","#66FFFF","#70C2C2","#5CD6D6","#3DF5F5","#33FFFF","#4DB2B2","#33CCCC","#0DF2F2","#00FFFF","#3D8F8F","#29A3A3","#0AC2C2","#00CCCC","#2E6B6B","#1F7A7A","#089191","#009999","#1F4747","#145252","#056161","#006666","#DBE6F0","#D6E6F5","#CFE5FC","#CCE5FF","#B8CCE0","#ADCCEB","#9ECCFA","#99CCFF","#94B2D1","#85B2E0","#6EB2F7","#66B2FF","#7099C2","#5C99D6","#3D99F5","#3399FF","#4D7FB2","#337FCC","#0D7FF2","#007FFF","#3D668F","#2966A3","#0A66C2","#0066CC","#2E4C6B","#1F4C7A","#084C91","#004C99","#1F3347","#143352","#053361","#003366","#DBDBF0","#D6D6F5","#CFCFFC","#CCCCFF","#B8B8E0","#ADADEB","#9E9EFA","#9999FF","#9494D1","#8585E0","#6E6EF7","#6666FF","#7070C2","#5C5CD6","#3D3DF5","#3333FF","#4D4DB2","#3333CC","#0D0DF2","#0000FF","#3D3D8F","#2929A3","#0A0AC2","#0000CC","#2E2E6B","#1F1F7A","#080891","#000099","#1F1F47","#141452","#050561","#000066","#E6DBF0","#E6D6F5","#E5CFFC","#E5CCFF","#CCB8E0","#CCADEB","#CC9EFA","#CC99FF","#B294D1","#B285E0","#B26EF7","#B266FF","#9970C2","#995CD6","#993DF5","#9933FF","#7F4DB2","#7F33CC","#7F0DF2","#7F00FF","#663D8F","#6629A3","#660AC2","#6600CC","#4C2E6B","#4C1F7A","#4C0891","#4C0099","#331F47","#331452","#330561","#330066","#F0DBF0","#F5D6F5","#FCCFFC","#FFCCFF","#E0B8E0","#EBADEB","#FA9EFA","#FF99FF","#D194D1","#E085E0","#F76EF7","#FF66FF","#C270C2","#D65CD6","#F53DF5","#FF33FF"); var total = colors.length; var width = 32; cp_contents = ""; var use_highlight =(document.getElementById || document.all)?true:false; for(var i=0; i   '; if( ((i+1)>=total) ||(((i+1) % width) == 0)){ cp_contents += ""; } } cp_contents += "
"; /* seeMe = '' + newline; writeit (seeMe, "see") */ }
Wimpy Rave Customizer Tool      Refresh Player / Code
 + Registration [ open all]   [ close all ]
 + Media  
 + Display
 + Start Up
 + Advanced
 

 

 

 

 

ÿ