这里会显示出您选择的修订版和当前版本之间的差别。
合成图:大往生 [2013/10/28 23:27] 大雄 |
合成图:大往生 [2014/08/23 21:54] (当前版本) |
||
---|---|---|---|
行 5: | 行 5: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
+ | var ispostback = 0; | ||
+ | function loadfinish() | ||
+ | { | ||
+ | if(ispostback){ | ||
+ | document.getElementById('bbb').removeAttribute('disabled'); | ||
+ | //setTimeout("document.getElementById('bbb').value = '猛击合成';",3000); | ||
+ | document.getElementById('bbb').value = '猛击合成'; | ||
+ | } | ||
+ | else | ||
+ | { | ||
+ | ispostback = 1; | ||
+ | } | ||
+ | } | ||
function reflush() | function reflush() | ||
{ | { | ||
行 11: | 行 24: | ||
var t3=myform.t3.value; | var t3=myform.t3.value; | ||
var urlp = 't1='+encodeURIComponent(t1)+'&t2='+encodeURIComponent(t2)+'&t3='+encodeURIComponent(t3); | var urlp = 't1='+encodeURIComponent(t1)+'&t2='+encodeURIComponent(t2)+'&t3='+encodeURIComponent(t3); | ||
- | document.getElementById('ppp').src="http://getamped.nxez.com/composeimage/dawangsheng/index.php?"+urlp+"&r="+Math.random(); | + | document.getElementById('ppp').src="http://getamped.yxhi.com/composeimage/dawangsheng/index.php?"+urlp+"&r="+Math.random(); |
- | document.getElementById('bbb').removeAttribute('disabled'); | + | |
- | setTimeout("document.getElementById('bbb').value = '猛击合成';",3000); | + | |
} | } | ||
</script> | </script> | ||
行 23: | 行 33: | ||
<input id="bbb" type="submit" value="猛击合成" onclick="this.value='玩命合成中 请稍候..';this.setAttribute('disabled','disabled');reflush();return false;" /></p> | <input id="bbb" type="submit" value="猛击合成" onclick="this.value='玩命合成中 请稍候..';this.setAttribute('disabled','disabled');reflush();return false;" /></p> | ||
</form> | </form> | ||
- | <p><img id="ppp" src="http://getamped.nxez.com/composeimage/dawangsheng/index.php?t1=文字1&t2=文字2&t3=文字3" /></p> | + | <p><img id="ppp" onload="loadfinish()" src="http://getamped.yxhi.com/composeimage/dawangsheng/index.php?t1=文字1&t2=文字2&t3=文字3" /></p> |
</html> | </html> |