Code thông tin thời tiết, tỷ giá ngoại tệ cho blogger, website
1. Đăng nhập Blogger/ blogspot
2. Vào bố cục.
3. Vào vị trí muốn chèn widget thời tiết, ngoại tệ, chọn Thêm tiện ích
4. Chọn thêm HTML/ Javascript
Chèn đoạn code sau đây vào ô HTML/ Javascript :
<div style="width:300px">
<style type="text/css">
#weather-thuthuatvui{
color :#000;
cursor: pointer;
background:#7fccff;
background: -moz-linear-gradient(top, #4fbfdc 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4fbfdc),color-top(100%,#f4f4f4));
background: -webkit-linear-gradient(top,#4fbfdc 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #4fbfdc 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #4fbfdc 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FBFBFB', endColorstr='#F4F4F4',GradientType=0 );
background: linear-gradient(top, #4fbfdc 0%,#f4f4f4 100%);
}
#weather-thuthuatvui a{ text-decoration:none; color: #000};
</style>
<div id="weather-thuthuatvui" class="weather-thuthuatvui">
<!-- Start widget Weather thuthuatvui -->
<tr><td colspan="2">
<br /><img title="weather" border="0" src="https://ssl.gstatic.com/onebox/weather/35/partly_cloudy.png" style="vertical-align:middle" width="25px" alt="Thời tiết" /><b><a href="http://wwww.thuthuatvui.net">Thời tiết</a></b>
</td>
</tr>
<div id="weather-thuthuatvui" class="weather-thuthuatvui">
<div id="thoitiet" style="padding: 9px 0 5px 20px; text-align:left">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://vietconsinfo.googlecode.com/svn/weather.js"></script>
<div><select class="thoitiet" id="cboListCity" name="cboListCity" style="width:105px;"><option selected value="hochiminh" />Tp HCM</select><div class="inner"><img border="0" src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjn4VUySUR1jl2hDtYrA5YMv6KYfOCB6TSKt6gibQsHmOey7xdG_OU1COjUnqGZT7ASw4kSyjWIiwlP2pY7lAUv2ueTterB4_YcXfEow-mPmZdh87sPhyZY1x1LXxDw24zvN0f76rjwonW-/s1600/loading.gif'/></div></div>
<script>/*<![CDATA[*/$("select").change(function(){var b="";$("select option:selected").each(function(){b+=" "+$(this).val()+" "});var a=b.split(" ");showWeather(""+a[1]+",vietnam")});/*]]>*/</script></div></div>
<!-- End widget Weather thuthuatvui -->
<div class="box">
<td colspan="2">
<img title="tỷ giá " border="0" src="http://nhavietnam.com.vn/hinhanh/money.png" style="vertical-align:middle" width="25px" alt="Giá vàng" /><b><a href="http://wwww.thuthuatvui.net">Giá vàng 9999</a></b></td>
<div id="weather-thuthuatvui" class="weather-thuthuatvui">
<script type="text/javascript" language="JavaScript" src="http://vnexpress.net/Service/Gold_Content.js"></script>
<script type="text/javascript" language="JavaScript" src="http://bachkhoamedia.googlecode.com/files/tygia.js"></script>
</div>
</div>
<div class="box">
<td colspan="2"><img src="http://nhavietnam.com.vn/hinhanh/circle-chart.png" style="vertical-align:middle" border="0" title="Gia Vang" alt="Tỷ giá" /><b><a href="http://wwww.thuthuatvui.net">Tỷ giá ngoại tệ</a></b> </td>
<div id="weather-thuthuatvui" class="weather-thuthuatvui">
<script type="text/javascript" language="JavaScript" src="http://vnexpress.net/Service/Forex_Content.js"></script>
<script type="text/javascript" language="JavaScript" src="http://bachkhoamedia.googlecode.com/files/money.js"></script>
</div>
</div></div>
</div>
Chỉnh Css cho phù hợp với bạn nha.
Nên download các file *.js về để chánh bị die file
TỪ VỰNG N5, TỪ VỰNG N4,TỪ VỰNG N3,