离开网页时提醒加入书签
来源:互联网 发布:单片机串口通信 编辑:程序博客网 时间:2024/04/28 06:09
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
修改你的<body>语句为:<body onUnload="bookmark()">
第二步
拷贝下面的代码到你的html文件的<head>和</head>之间:
<script language="javascript">
function bookmark(){
window.external.AddFavorite('http://www.tongyi.net', '【统一教学网】')
}
</script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
第一步修改你的<body>语句为:<body onUnload="bookmark()">
第二步
拷贝下面的代码到你的html文件的<head>和</head>之间:
<script language="javascript">
function bookmark(){
window.external.AddFavorite('http://www.tongyi.net', '【统一教学网】')
}
</script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 离开网页时提醒加入书签
- 离开页面时提醒
- Jquery关闭离开页面时提醒
- 关闭离开页面时提醒Jquery
- JS关闭离开页面时提醒
- 离开页面提醒功能 (实现博客园离开编辑页面时的提醒功能)
- 网页书签
- 离开页面提醒功能
- Jquery实现如何关闭离开页面时提醒
- pdf加入书签
- 离开 Oracle 加入腾讯
- 【Firefox】火狐浏览器网页翻译,只需代码加入书签即可
- web网页关闭页面时提醒
- js 实现在离开页面时,对未保存的信息进行提醒
- js 实现在离开页面时,对未保存的信息进行提醒
- js 实现在离开页面时提醒未保存的信息(减少用户重复操作)
- js 实现在离开页面时提醒未保存的信息(减少用户重复操作)
- js 实现在离开页面时,对未保存的信息进行提醒
- 简易的网上计时器--Cimclock
- Hibernate应用总结
- 粗略看Hibernate的代码
- 表单递交前的校验
- 符合oo惯例的表现层控制
- 离开网页时提醒加入书签
- 如何学习Hibernate
- 循环改变背景颜色
- Oracle数据库的数据字典
- 立体透明按钮的制作方法
- 连接数据库的整理点滴
- 怎么弹出一个新的窗口
- Software Development Lessons Learned from Poker
- 如何从MIDlet中调用JSP页面