- 博客(5)
- 收藏
- 关注
原创 YII2与Bootstrap
今天突然发现用Bootstrap 中的导航组件写的功能没效果了,查看原理是没有加载到bootstrap.js文件,添加depends就好了。<?phpnamespace frontend\assets;use yii\web\AssetBundle;class AppAsset extends AssetBundle{ public $basePath = '@webroot';
2015-03-27 14:38:56 1883
原创 CSS使用积累
CSS使用积累1.DropdownBootstrap dropdown with mouse hover rather than click.<div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> Action <span class="caret"></spa
2015-03-24 12:01:12 539
原创 js时间的处理
1.Date对象var myDate = new Date(); myDate.getFullYear(); //获取完整的年份(4位,1970-????) myDate.getMonth(); //获取当前月份(0-11,0代表1月) myDate.getDate(); //获取当前日(1-31) myDate.getDay();
2015-03-20 13:43:07 484
原创 服务器上部署GIT上线命令
服务器上部署GIT上线命令结构: 服务器+本地环境1.在服务器git上建立一个裸仓库# 服务器上$ mkdir project.git$ cd project.git$ git --bare init2.将你本地的代码上传到服务器# 在你的电脑上$ cd myproject$ git init$ git add .$ git commit -m 'initial commit
2015-03-20 13:18:14 1289
原创 jq元素节点与属性的相关操作
1.判断某个class属性是否存在。$("input[name=new]").hasClass("new");2.判断其他属性是否存在。typeof($("#xxx").attr("rel"))=="undefined"
2015-03-18 11:31:10 760
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人