ExtJs添加天气组件
2015-03-02 14:15
127 查看
使用2345的天气组件
http://tianqi.2345.com/
点击获取代码,获取源代码后 将iframe中的双引号换成单引号,添加到panel的html属性中
我的代码如下
欢迎加入技术讨论群 :219805927
你也可以扫描二维码加入该群
http://tianqi.2345.com/
点击获取代码,获取源代码后 将iframe中的双引号换成单引号,添加到panel的html属性中
"<iframe allowtransparency='true' frameborder='0' width='385' height='96' scrolling='no' src='http://tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=0&v=0&d=3&bd=0&k=&f=&q=1&e=1&a=1&c=54511&w=385&h=96&align=center'></iframe>"
我的代码如下
{ xtype: 'panel', region: 'center', html: '<iframe allowtransparency=\'true\' frameborder=\'0\' width=\'385\' height=\'96\' scrolling=\'no\' src=\'http://tianqi.2345.com/plugin/widget/index.htm?s=1&z=1&t=0&v=0&d=3&bd=0&k=&f=&q=1&e=1&a=1&c=54511&w=385&h=96&align=center\'></iframe>' }
欢迎加入技术讨论群 :219805927
你也可以扫描二维码加入该群
相关文章推荐
- ExtJs动态添加组件
- Extjs中为RadioGroup组件添加监听事件,来控制另一个组件是否显示
- extjs组件添加事件监听的三种方式
- ExtJs 通过按钮动态添加组件
- extjs组件添加事件监听的三种方式
- ExtJS 学习笔记 示例2-在组件中添加子组件,并操作子组件
- ExtJS 4.2 Date组件扩展:添加清除按钮
- Extjs4.2 MVC 动态添加删除组件
- Extjs中Combo组件添加tooltip
- extjs中grid改变行颜色及动态添加组件
- extjs组件添加事件监听的三种方式
- extjs组件添加事件监听的三种方式 http://blog.sina.com.cn/s/blog_48d7f92901011cfn.html
- ExtJs--04--window窗口属性说明并两种方式添加子组件
- ExtJs--05--给window组件添加功能条以及子组件获取上级或下级组件的属性和方法
- extjs-添加对应的组件
- extjs组件添加事件监听的三种方式
- ExtJs 动态添加组件
- [转]extjs组件添加事件监听的三种方式
- 解决“添加删除Windows组件”中没有IIS选项的方法
- 【Unity&I2】为Label添加I2的本地化组件