求.net (c#)设为主页代码

来源:百度知道 编辑:UC知道 时间:2024/06/21 00:22:50
这个我也会呀,我想用.net的方法.

用javascript就可以了.

<a href="2006-04-13/#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www./');">
单击链接设为主页</a>

楼上的就是.net啊,,那是脚本。
<script language="javascript" type="text/javascript">
<a href="2006-04-13/#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www./');">

</script>