中文(简体)
<!-- 将以下代码添加到 body 区域内--> <SCRIPT language="JavaScript" type="text/javascript"> //来自 http://www.downcodes.com 的更多 javascript var wdmax=120; var wdmin=0; var inc=5;变量率 = 50; var 暂停 = 1000; var ff="翻转"; function Flipflop() { if (ff=="flip") { var wd = pic.width; wd = wd - inc; pic.width=wd; if (wd==wdmin) { pic.src="/u/info_img/2009-06/20/5914_logo.gif";公司=-公司; } if (wd==wdmax) { ff="flop";公司=-公司; setTimeout("触发器()",暂停); } else { setTimeout("flipflop()",rate); } } else { var ht = pic.height; ht = ht - Inc; pic.height=ht; if (ht==wdmin) { pic.src="/u/info_img/2009-06/20/5914_logo.gif";公司=-公司; } if (ht==wdmax) { ff="翻转";公司=-公司; setTimeout("触发器()",暂停); } else { setTimeout("flipflop()",rate); } } } --> </SCRIPT> <center> <body onLoad="javascript:flipflop()"> <TABLE border="0"> <th width="160" height="160"> <IMG src= “/u/info_img/2009-06/20/5914_logo.gif”宽度=“120”高度=“120”ID=“pic”></th></TABLE>