有没有用FrontPage的,如何在里面实现将网页加入收藏夹的特效啊

为什么做网页不用DW呢?这些常用的脚本,很多特效软件和特效网站都有
也可以看下我以前在多媒体版总结的加入收藏夹大全:

左键弹出收藏夹:

1<script language="JavaScript1.2">   
2if (document.all)   
3document.body.onmousedown=new Function("if (event.button==0 ¦ &brvbarevent.button==1)window.external.addFavorite('http://www.csdn.net','中国软件')")   
4</script>

右左键都可弹出收藏夹:

1<script language="JavaScript1.2">   
2if (document.all)   
3document.body.onmousedown=new Function("if (event.button==1 ¦ &brvbarevent.button==2)window.external.addFavorite('http://www.csdn.net','中国软件')")   
4</script>

右键打开收藏夹,左键无效:

1<script language="JavaScript1.2">   
2if (document.all)   
3document.body.onmousedown=new Function("if (event.button==2 ¦ &brvbarevent.button==3)window.external.addFavorite('http://www.csdn.net','中国软件')")   
4</script>

文字加入收藏夹:

1<script language="JavaScript">   
2function bookmarkit(){window.external.addFavorite('http://www.csdn.net','中国软件')}//改为你自己的网址和站名   
3if (document.all)document.write('<a href="#" onClick="bookmarkit()">加入收藏夹</a>')   
4</script>

or

1<a href="javascript:window.external.addfavorite('http://www.csdn.net','中国首页')">收藏本站</a>

按钮加入收藏夹:

1<input onclick="window.external.AddFavorite(location.href, document.title)" type="button" value="加入收藏夹"/>
1<input onclick="window.external.AddFavorite(location.href, document.title)" style="BORDER-RIGHT: 2px outset; BORDER-TOP: 2px outset; BORDER-LEFT: 2px outset; COLOR: #f7f7e7; BORDER-BOTTOM: 2px outset; BACKGROUND-COLOR: #6b696b" type="button" value="加入收藏夹"/>

图片按钮实现:

1<a href="javascript:window.external.AddFavorite('http://www.csdn.net/','中国软件')"><img align="absBottom" alt="添加至收藏夹" border="0" src="image/1234.gif"/>   
2  
3无变化加入收藏夹:   
4<table border="0" cellpadding="0" cellspacing="0" class="fsdtb1">
5<td onclick="window.external.AddFavorite('http://www.csdn.net','中国软件')">加入收藏</td>
6</table></a>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus