Monkuar Posted July 8, 2009 Share Posted July 8, 2009 function getObj(o){return gi(o);} function uS() { var v, i; if(lV[cId][3]) lV[cId][2] = (a.secH.checked?1:0); if(lV[cId][4]) lV[cId][0] = a.secL.selectedIndex; if(lV[cId][5]) { v = parseInt(a.secO.value); if(v!=NaN && v) lV[cId][1] = v; } v=""; for(i in lV) v+=(v?";":"")+i+":"+lV[i][0]+","+lV[i][1]+","+lV[i][2]; a.v.value = v; gi("aS").style.display="block"; cS(); } function cS() { if(eSo) eSo.parentNode.removeChild(eSo); eSo = 0; } var eSo = 0, cId=0; function eS(obj, id) { var i,c = obj.parentNode; var fs = c.parentNode; cS(); cId = id; eSo = document.createElement("div"); eSo.className="p3"; var h = ""; if(lV[id][3]) h += "<input name=\"secH\" type=checkbox"+(lV[id][2]?" checked":"")+"> Hide This Section<br>"; if(lV[id][4]) { h += "Display Location: <select name=\"secL\">"; for(i=0;i<3;i++) h += "<option"+(lV[id][0]==i?" selected":"")+">"+locs[i]+"</option>"; h += "</select><br>"; } if(lV[id][5]) { h += "Display Order: <input name=\"secO\" type=text value=\""+lV[id][1]+"\" size=2><br>"; } if(h) { h += "<div class=\"ab\"><a href=\"javascript:uS()\">Update Settings</a></div>"; eSo.innerHTML = h; } if(c.nextSibling) { fs.insertBefore(eSo, c.nextSibling); } else { fs.appendChild(eSo); } } Now whenever I save my V Value POST.. it only shows 3 freaking 1:0,0,0 arrays it needs to show 6 each one ? PLZ HELP Link to comment https://forums.phpfreaks.com/topic/165160-can-u-explain-this-script-in-real-life-to-me-thanks/ Share on other sites More sharing options...
Monkuar Posted July 9, 2009 Author Share Posted July 9, 2009 plz lol Link to comment https://forums.phpfreaks.com/topic/165160-can-u-explain-this-script-in-real-life-to-me-thanks/#findComment-871888 Share on other sites More sharing options...
haku Posted July 9, 2009 Share Posted July 9, 2009 Try a specific question, and someone may answer it. Link to comment https://forums.phpfreaks.com/topic/165160-can-u-explain-this-script-in-real-life-to-me-thanks/#findComment-872016 Share on other sites More sharing options...
Monkuar Posted July 9, 2009 Author Share Posted July 9, 2009 Try a specific question, and someone may answer it. That's some specific code if u ask me, lol Link to comment https://forums.phpfreaks.com/topic/165160-can-u-explain-this-script-in-real-life-to-me-thanks/#findComment-872138 Share on other sites More sharing options...
haku Posted July 10, 2009 Share Posted July 10, 2009 But we weren't asking you, you were asking us. The number of people answering your question pretty much says that its not. Link to comment https://forums.phpfreaks.com/topic/165160-can-u-explain-this-script-in-real-life-to-me-thanks/#findComment-872440 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.