<div class="htmlarea"> <textarea id="runcode69146"> function addBookmark(title, url){ if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "") } <a href="javascript:void(0);" onclick="if (navigator.appName!='Netscape') {javascript:window.external.AddFavorite(parent.location.href,document.title);} else {window.location = parent.location.href;}">加入最愛</a> </textarea><br><input onclick="runEx('runcode69146')" type="button" value="运行代码"> <input onclick="doCopy('runcode69146')" type="button" value="复制代码"> <input onclick="doSave(runcode69146)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>