im not even on the list anymore :'(
However, it is good to see you back! Are you here to stay for a while, or just visiting?
eh... well right now fml. having trouble with school so ill be off and on
yep ^
need a clan eh. anyone? crystal 2 max push. level 77. 2 xbows. archer queen level 1. n=barb king soon to be level 5. all level 5 troops (save for the super troops)
and my favorite member left meh...
he was like a father to me
*sniff sniff* probably gonna shut down arming up... :(
<poll>
title
number 1
number 2
...
ect
</poll> this is what it turns out like \/
lf yall could NOT do that... Thad' be great...
function setimg(){
var d=document.getElementsByClassName("_img_");
for(var i=0;i<d.length;i++){
var l=d[i].getAttribute("data-img");
l=l+"http";
var f=new Array();
for(var o=1;o<l.length;o++){
if(l.substr(o,4)=="http"){
f.push(l.substr(0,o));
l=l.substr(o);
o=1;
}
}
for(var c=0;c<f.length;c++){
while(f[c].substr(0,1)==" "){
f[c]=f[c].substr(1);
}
while(f[c].substr(f[c].length-1)==" "){
f[c]=f[c].substr(0,f[c].length-1);
}
}
for(var n=0;n<f.length;n++){
var m=document.createElement("img");
m.setAttribute("src",f[n]);
d[i].appendChild(m);
}
}
}
if syntax: if([condition]){[code]}
for syntax: for(var [name]=[initial state];[condition];[increment]){[code]}
while syntax: while([condition]){[code]}
An if statement checks if the condition is true, if so it does the select code, you can add else to the end to do something else if the statement is not true. A for statement loops through the block of code and checks at the end if the condition is true, if it is it loops again, otherwise it ends. A while statement does the select code while the condition is true, this is useful to do thing like remove whitespace from strings if you do not know how much whitespace is on the start/end of the string.
i third that :D
well its getting more and moreoff topic. ill re start it...
ruler your it