Golden rule Every line of code should appear to be written by a single person, no matter the number of contributors. 1.Syntax Use soft tabs with two s ...
分类:
Web程序 时间:
2016-04-10 12:55:23
阅读次数:
258
JQuery UI 是以 JQuery 为基础的开源 JavaScript 网页用户界面代码库。包含底层用户交互、动画、特效和可更换主题的可视控件,这些控件主要包括:Accordion,Autocomplete,ColorPicker,Dialog,Slider,Tabs,DatePicker,Ma ...
分类:
Web程序 时间:
2016-04-07 08:20:54
阅读次数:
298
最近做一个ionic的app项目,发现ionic的路由方式并不是很灵活。期间在路由跳转上遇到了很多的问题,这里直接上问题: 1、 在这个app中,我要实现除了首页、分类页、购物车、个人中心这4个页面有tabs外,其它页面都不要tabs。如何实现? 这个很简单啊,在其它页面中隐藏掉tabs就行了。在路 ...
分类:
其他好文 时间:
2016-04-02 17:35:07
阅读次数:
806
1 属性1.11 ajaxOptions,当选项卡加载内容时,添加一个ajax选项。只有ajax时,添加的ajax选项才起作用。默认值为null。上面的例子中,添加了beforeSend和success两个选项。ajax还有一些选项请参考jquery ajax,这里不做详解。。。1.12 初始化设置 ...
分类:
Web程序 时间:
2016-03-30 09:40:55
阅读次数:
220
function tabs(tabtit,tabcnt){ tabtit.each(function(index){ $(this).on('click',function(){ var tindex=index; $(this).addClass('active').siblings().remo ...
分类:
其他好文 时间:
2016-03-24 13:06:38
阅读次数:
167
function tabs(tabtit,tabcnt){ tabtit.each(function(index){ $(this).on('click',function(){ var tindex=index; $(this).addClass('active').siblings().remo ...
分类:
其他好文 时间:
2016-03-24 12:55:00
阅读次数:
153
一、Panel(面板) 1.通过标签创建: 2.通过JS调用: html代码: JS代码: 二、Tabs(选项卡) 1.通过标签创建: 2.通过JS调用: html代码: JS代码: 添加一个选项卡: 三、Accordion(分类) 1.通过标签创建: 四、Layout(布局) 1.通过标签创建: ...
http://stackoverflow.com/questions/23991852/how-do-i-hide-the-tabs-in-ionic-framework ////// tabs.html <ion-tabs ng-class="{'tabs-item-hide': hideTabs
分类:
其他好文 时间:
2016-02-24 12:24:38
阅读次数:
181
1、用命令ionic start myApp tabs新建项目时,在最后面提示ionic\cli.js报错的问题(具体问题描述忘记了) 安装 node-inspector 即可 ,使用命令 cnpm install -g node-inspector,如果你没有安装cnpm,先执行命令 npm in
分类:
其他好文 时间:
2016-02-24 09:25:34
阅读次数:
373
一、创建组件 tab1 tab2 二、属性 1. tab1 tab2 tab3 生成的html(发现了panel,那边它也继承了panel的一些属性) 2. tab1 tab2 tab3 三、事件 四、方法
分类:
其他好文 时间:
2016-02-20 21:34:20
阅读次数:
306