wcf.regNote.message
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<script type="text/javascript">
function growIt(id, w, h, s){
ele = this.document.getElementById(id);
iActW = ele.style.width;
iActH = ele.style.height;
iActH = parseInt(iActH.substr(0, iActH.length-2));
iActW = parseInt(iActW.substr(0, iActW.length-2));
if (iActW+s < w) iActW = iActW + s;
else iActW = w;
if (iActH+s < h) iActH = iActH+s;
else iActH = h;
ele.style.width = iActW+'px';
ele.style.height = iActH+'px';
}
function growBox(id, w, h, s){
wid = parseInt(this.document.getElementById(id).style.width.substr(0,this.document.getElementById(id).style.width.length))
;
while( wid < w){
alert ("WID: "+wid+" W: "+w);
window.setTimeout("growIt('"+id+"', "+w+", "+h+", "+s+")", 10);
wid = parseInt(this.document.getElementById(id).style.width.substr(0,this.document.getElementById(id).style.width.length
-2));
}
}
</script>
|
|
|
PHP Source code |
1 2 |
function growBox(id, w, h, s){
wid = parseInt(this.document.getElementById(id).style.width.substr(0,this.document.getElementById(id).style.width.length));
|
|
|
PHP Source code |
1 2 |
function growBox(id, w, h, s){
wid = parseInt(this.document.getElementById(id).style.width.substr(0,this.document.getElementById(id).style.width.length - 2 ));
|
...

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
function growIt(id, w, h, s){
ele = this.document.getElementById(id);
iActW = ele.style.width;
iActH = ele.style.height;
iActH = parseInt(iActH.substr(0, iActH.length-2));
iActW = parseInt(iActW.substr(0, iActW.length-2));
if (iActW+s < w) iActW = iActW + s;
else iActW = w;
if (iActH+s < h) iActH = iActH+s;
else iActH = h;
ele.style.width = iActW+'px';
ele.style.height = iActH+'px';
}
function growBox(id, w, h, s){
ele = this.document.getElementById(id);
wid = parseInt(ele.style.width.substr(0,ele.style.width.length-2));
while( wid < w){
alert ("WID: "+wid+" W: "+w);
window.setTimeout("growIt('"+id+"', "+w+", "+h+", "+s+")", 10);
wid = parseInt(ele.style.width.substr(0,ele.style.width.length-2));
}
}
|

|
|
PHP Source code |
1 2 3 4 5 6 7 8 9 10 11 |
function growBox(id, w, h, s){
ele = document.getElementById(id);
wid = parseInt(ele.style.width.substr(0,ele.style.width.length-2));
i = 0;
while(wid < w){
i += 500;
window.setTimeout("growIt('"+id+"', "+w+", "+h+", "+s+")", i);
if (wid+s < w) wid = wid + s;
else wid = w;
}
}
|
....



kein Prob 

