javaScript
文章平均质量分 74
新生思宇
这个作者很懒,什么都没留下…
展开
-
JS 小球坠落效果
CSSball{ width: 100px; height: 100px; border-radius: 100px; position: absolute; left: 50%; top: 500px; margin-left: -50px; background-color: #34538b; background-ima转载 2015-01-05 17:05:08 · 2978 阅读 · 0 评论 -
Angular JS 复写 html5 required
derective 代码mod.directive('required', ['$translate', function ($translate) { return function(scope, elm, attr) { var raw = elm[0]; elm.bind('invalid', function(e) {原创 2014-03-18 15:33:59 · 1457 阅读 · 0 评论 -
Angular js
1. 不转义html controller mod.controller('smartMsgBoxCtrl', ['$scope', '$sce', 'restService', '$location', '$filter', '$stateParams', function($scope, $sce, restService, $location, $filter,原创 2014-01-20 16:40:08 · 1085 阅读 · 0 评论