- <script>
- function addfavorite()
- {
- if (document.all)
- {
- window.external.addFavorite('http://web.4399.com/rxsg/','4399热血三国');
- }
- else if (window.sidebar)
- {
- window.sidebar.addPanel('4399热血三国', 'http://web.4399.com/rxsg/', "");
- }
- }
- </script>
- <a href="#" onclick="addfavorite()">加入收藏</a>