小动画插件链接
小丑人时间
http://chabudai.org/blog/?p=59
http://www.cnblogs.com/shenyixin/archive/2012/10/25/2739289.html
以下代码参考
var swfUrl = "http://chabudai.sakura.ne.jp/blogparts/honehoneclock/honehone_clock_tr.swf"; var swfTitle = "honehoneclock"; LoadBlogParts(); function LoadBlogParts(){ var sUrl = swfUrl; var sHtml = ""; sHtml += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="160" height="70" id="' + swfTitle + '" align="middle">'; sHtml += '<param name="allowScriptAccess" value="always" />'; sHtml += '<param name="movie" value="' + sUrl + '" />'; sHtml += '<param name="quality" value="high" />'; sHtml += '<param name="bgcolor" value="#ffffff" />'; sHtml += '<param name="wmode" value="transparent" />'; sHtml += '<embed wmode="transparent" src="' + sUrl + '" quality="high" bgcolor="#ffffff" width="160" height="70" name="' + swfTitle + '" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'; sHtml += '</object>'; document.write(sHtml); }