`
sailei1
  • 浏览: 127597 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
效果图 代码: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</t ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>js获取日期:前天、昨天、今天、明天、后天</title> </head> <body> <script language="JavaScript" type="text/javascript"> Date.p ...
JSon  时间数据格式 {"data":[{"name":"00:05","sf":"1"},{"name":"00:15","sf":"1"},{"name":"00:25","sf":"1"},{"name":"00:35","sf":"1"},{&q ...
Ext.define('Contact.model.Titles', { extend: 'Ext.data.Model', config: { fields: [ { name: 'itemTitle',type: 'string'}, { name: 'itemValue',type: 'string'}, ], belongsTo: 'Agency' } }); Ext.define('Contact.model.Agency', { extend: 'Ext.data.Model', config: { fields: [ { name: 'agencyId',type: 's ...
//<debug> Ext.Loader.setPath({ 'Ext': 'touch/src', 'room': 'app', 'Ext.ux.touch.grid': 'Ext.ux.touch.grid' }); //</debug> Ext.require([ 'Ext.ux.touch.grid.List', 'Ext.ux.touch.grid.feature.Feature', 'Ext.ux.touch.grid.feat ...
TextArea ios 支持滑动 Ext.define('Sai.view.TextArea', { extend: 'Ext.form.TextArea', xtype:'scrollTextArea', initialize: function() { this.callParent(); this.element.dom.addEventListener( Ext.feature.has.Touch ? 'touchstart' : 'mousedown', this.handle ...
/** * @author Ed Spencer * @private * * Manages the stack of {@link Ext.app.Action} instances that have been decoded, pushes new urls into the browser's * location object and listens for changes in url, firing the {@link #change} event when a change is detected. * * This is tied to ...
/** * @author Ed Spencer * @private * * Manages the stack of {@link Ext.app.Action} instances that have been decoded, pushes new urls into the browser's * location object and listens for changes in url, firing the {@link #change} event when a change is detected. * * This is tied to ...
//json 传过来的map List 类型遍历 for(var key in map){ console.log(map[key] +' '+key); } for(var i in list){ console.log(list[i]); }
setInterval(function () { crsl.next();//切换的方法 if (crsl.getActiveIndex() === crsl.getMaxItemIndex()) { crsl.setActiveItem(0); } }, 2000); // setInterval()
/*global Ext:false */ Ext.application({ launch: function () { Ext.create('Ext.Carousel', { defaults: { styleHtmlContent: true }, // defaults indicator: false, //Carousel 去除底栏 fullscreen: true, items: [ ...
[{ name: 'engineName', value: Ext.browser.engineName }, { name: 'engineVersion', value: Ext.browser.engineVersion }, { name: 'isSecure', value: Ext.browser.isSecure ...
主页面 /** * @Author sai */ Ext.define("Sencha.view.Main", { extend : 'Ext.tab.Panel', xtype : 'Main', //requires: ['Sencha.view.MenuButton','Sencha.view.MenuItemButton'], config : { tabBar : { docked : 'bottom' }, scrollable :{ direction : 'ho ...
CORS 全称:Cross-Origin Resource Sharing 在ST的 文档中是这么写的 A relatively new capability of modern browsers is called CORS, which stands for Cross-Origin Resource Sharing. This allows you to send requests to other domains without the usual security restrictions enforced by the browser. Sencha Touch 2 has s ...
var el = carousel.element; var b= el.down("div[class='x-carousel-indicator x-carousel-indicator-horizontal x-floating x-carousel-indicator-dark']:nth-child(1)"); b.set({"style":"right: 0;width: 25%;"});
Global site tag (gtag.js) - Google Analytics