年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- gengyun12
- hbxflihua
- e_e
- luxurioust
- dbagirl
- zysnba
- Alsmile
- robotmen
- gaozzsoft
- jywhltj
- cpongo1
- leslie26
- qepwqnp
- zhangdaiscott
- 解宜然
- cuityang
- sichunli_030
- gashero
- fantaxy025025
- 淡看人生
- ranbuijj
- gdpglc
- ssydxa219
- wallimn
- vipbooks
- hanbaohong
- jickcai
- johnsmith9th
- javashop
- appalese
- gaojingsong
- weiyides
- zhangyi0618
- AVI
- java-007
- laiyangdeli
- lyongq04
- xpenxpen
- liunancun
- 龙哥IT
- nychen2000
- conkeyn
- lyndon.lin
- panshunchang
- ouanui
最新文章列表
Javascript 兼容 IE6、IE7、FF 的“加入收藏”“设为首页”
IE6、IE7 的“加入收藏”代码:
window.external.addFavorite(sURL, sTitle);
说明:
addFavorite 的第一个字母a不是大写!纵然微软参考上是大写,但“事实胜于雄辩”。
Firefox 的“加入收藏”代码:
方法一、
<a href="http://www.2cto.com" title="YCPE ...
从”设为首页“浅谈window.external(ps各大网站首页处理的方式)
最近觉得还是谈一个老话题--------页面中调用window.external象的一些api进行例如“加入收藏”或者“设为主页”等操作
其实如果你够留意官方文档的话,你会发现这样一句话:
Allows access to an additional object model provided by host applications of the Windows Interne ...
设为首页,和加入收藏js代码如何写呢
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml&q ...