时尚酷族
标题:
在搜索栏右边加个天气代码【X1.5】
[打印本页]
作者:
CooL.泪猪
时间:
2010-9-7 14:40
标题:
在搜索栏右边加个天气代码【X1.5】
登录/注册后可看大图
1.png
(5.59 KB, 下载次数: 32)
下载附件
保存到相册
2010-9-7 14:39 上传
打开template\default\common\pubsearchform.htm
' H }4 L9 g4 y E d
+ W& e( g5 F- {2 p$ t! O
在<script type="text/javascript">initSearchmenu();</script>下面插入
<div style="float:right; margin:7px 0 0 0;"><iframe style="filter:chroma(color=#ffffff)" src="http://m.weather.com.cn/m/pn4/weather.htm" width="160" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe></div>
& T4 V7 `: U2 X4 r, r
复制代码
2 \' \8 h5 N, Z- m
0 E! a+ t" y9 z: M ~# _ ]3 M
要什么效果可去这个看看,直接替换IFRAME就好了
6 \) Q; z. ?2 Y! P
http://service.weather.com.cn/plugin/index.shtml
( `( v1 R: p3 H, \& \4 F
还有,这个是透明,他默认iframe是没 style="filter:chroma(color=#ffffff)"的,需要透明的可加上这个
欢迎光临 时尚酷族 (http://www.coqq.net/)
Powered by Discuz! X3.2