晚风

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

随笔分类 -  前端

摘要:目前环境1、ant的版本是1.9.42、jdk的版本是1.73、ionic安装版本是1.5.54、cordova版本是5.1.1经测试,虽然ionic上面写的支持的最低版本是android-16,但是我发布的时候最低支持android-17,android-16每次都 编译失败,不知道是不是环境的问... 阅读全文
posted @ 2015-07-02 06:39 晚风 阅读(316) 评论(0) 推荐(0)

摘要:自定义的Openlayers.Popup.FreshCloud继承自Openlayers.Popup.Framed,实现了比较简洁的冒泡效果,详细代码如下/***Class:OpenLayers.Popup.FramedCloud**Inheritsfrom:*-*/OpenLayers.Popup.FreshCloud=OpenLayers.Class(OpenLayers.Popup.Framed,{/***Property:contentDisplayClass*{String}TheCSSclassofthepopupcontentdiv.*/contentDisplayClass:& 阅读全文
posted @ 2014-03-26 10:41 晚风 阅读(995) 评论(0) 推荐(0)

摘要:右对齐,换行显示的解决方法2010-8-26.news li{ position:relative; float:left; width:260px; //设定宽度}.news lispan { display:inline-block; }.news li span.lbl { width: 80px; text-align: right;}.news li span.date { width: 180px; text-align: left; position:absolute;//绝对定位,靠右 right:0;} 阅读全文
posted @ 2013-10-29 14:45 晚风 阅读(1030) 评论(0) 推荐(0)