• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






锋芒毕露

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2013年2月25日

兼容各种浏览器的的选项卡菜单
摘要: 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>兼容各种浏览器的的选项卡菜单</title> 5 <meta http-equiv="c 阅读全文
posted @ 2013-02-25 14:05 锋芒毕露 阅读(293) 评论(0) 推荐(0)
 
javascript中apply方法的使用
摘要: 1、对象的继承,一般的做法是复制:Object.extendprototype.js的实现方式是:Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property]; } return destination; }除此之外,还有种方法,就是:Function.apply(当然使用Function.call也是可以的)apply方法能劫持另外一个对象的方法,继承另外一个对象的属性Function... 阅读全文
posted @ 2013-02-25 12:59 锋芒毕露 阅读(185) 评论(0) 推荐(0)