Bo suu tap cho trang web cua ban

12 11 0
Bo suu tap cho trang web cua ban

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Cách sử dụng rất đơn giản, bạn chỉ cần đăng kí một tài khoản tại website, cung cấp địa chỉ của website hay blog của bạn, sau đó nó sẽ sinh ra một đoạn mã chứa HTML và Javascript, bạn hãy[r]

(1)

SƯU TẬP BỘ MÃ CODE NHÚNG VÀO WEBSITE Code Dự Báo Thời Tiết:

Hà Nội

<img src="http://banners.wunderground.com/banner/gizmotimetemp_both/ language/www/global/stations/48820.gif"

alt="Du bao thoi tiet - Thu Ha Noi" title="Dự báo thời tiết - Thủ đô Hà Nội" height="41" width="127">

Huế

<img src="http://banners.wunderground.com/banner/gizmotimetemp_both/ language/www/global/stations/48852.gif"

alt="Du bao thoi tiet - Co Hue" title="Dự báo thời tiết - Cố đô Huế" height="41" width="127">

Thành Phố Hồ Chí Minh

<img src="http://banners.wunderground.com/banner/gizmotimetemp_both/ language/www/global/stations/48900.gif"

alt="Du bao thoi tiet - Thanh Ho Chi Minh" title="Dự báo thời tiết - Thành phố Hồ Chí Minh" height="41" width="127">

Đà Nẵng

<img src="http://banners.wunderground.com/banner/gizmotimetemp_both/ language/www/global/stations/48855.gif"

alt="Du bao thoi tiet - Thanh Da Nang" title="Dự báo thời tiết - Thành phố Đà Nẵng" height=41 width=127>

Thành phố Nha Trang:

<a href="http://www.wunderground.com/global/stations/

48877.html?bannertypeclick=gizmotimetemp"> <img src="http://banners.wunderground.com/ weathersticker/gizmotimetemp_both/language

/www/global/stations/48877.gif" border=0 alt="Click for Nha Trang, Viet Nam Forecast" height=41 width=127></a>

Bạch Long Vĩ:

<a href="http://www.wunderground.com/global/

stations/48839.html?bannertypeclick=miniDial"> <img src="http://banners.wunderground.com/ weathersticker/miniDial_both/language/www/

global/stations/48839.gif" border=0

alt="Click for Bach Long Vi, Viet Nam Forecast" height=50 width=150></a>

Cà Mau:

<a href="http://www.wunderground.com/global/stations/48914.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8914.gif" border=0 alt="Click for Ca Mau, Viet Nam Forecast" height=40 width=467></a>

Cao Bằng:

<a href="http://www.wunderground.com/global/stations/48808.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8808.gif" border=0 alt="Click for Cao Bang, Viet Nam Forecast" height=40 width=467></a>

Côn Sơn:

<a href="http://www.wunderground.com/global/stations/48918.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8918.gif" border=0 alt="Click for Con Son, Viet Nam Forecast" height=40 width=467></a>

Đồng Hới:

(2)

Sơn La:

<a href="http://www.wunderground.com/global/stations/48806.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8806.gif" border=0 alt="Click for Son La, Viet Nam Forecast" height=40 width=467></a>

Lạng Sơn:

<a href="http://www.wunderground.com/global/stations/48830.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8830.gif" border=0 alt="Click for Lang Son, Viet Nam Forecast" height=40 width=467></a>

Lào Cai:

<a href="http://www.wunderground.com/global/stations/48803.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8803.gif" border=0 alt="Click for Lao Cai, Viet Nam Forecast" height=40 width=467></a>

Nam Định:

<a href="http://www.wunderground.com/global/stations/48823.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8823.gif" border=0 alt="Click for Nam Dinh, Viet Nam Forecast" height=40 width=467></a>

Phan Thiết:

<a href="http://www.wunderground.com/global/stations/48887.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8887.gif" border=0 alt="Click for Phan Thiet, Viet Nam Forecast" height=40 width=467></a>

Vinh:

<a href="http://www.wunderground.com/global/stations/48845.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8845.gif" border=0 alt="Click for Vinh, Viet Nam Forecast" height=40 width=467></a>

Phú Quốc:

<a href="http://www.wunderground.com/global/stations/48917.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8917.gif" border=0 alt="Click for Phu Quoc, Viet Nam Forecast" height=40 width=467></a>

Qui Nhơn:

<a href="http://www.wunderground.com/global/stations/48870.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8870.gif" border=0 alt="Click for Qui Nhon, Viet Nam Forecast" height=40 width=467></a>

Thanh Hoá:

<a href="http://www.wunderground.com/global/stations/48840.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8840.gif" border=0 alt="Click for Thanh Hoa, Viet Nam Forecast" height=40 width=467></a>

Trường Sa:

<a href="http://www.wunderground.com/global/stations/48920.html?bannertypeclick=gizmotimetempbig"> <img src="http://banners.wunderground.com/weathersticker/gizmotimetempbig_both/language/www/global/stations/4 8920.gif" border=0 alt="Click for Truong Sa, Viet Nam Forecast" height=40 width=467></a>

Code Báo Mới: Tin tổng hợp:

(3)

src="http://www.baomoi.com/Widget/JS/Widget.js"></script> <script type="text/javascript"

src="http://www.baomoi.com/Widget/GenerateJS.aspx?zone=-1&count=15&ntype=popular&dtype=2&target=0"></script> Tin thể thao:

<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width = '170'; epi_height = '600'; epi_theme = 'widgetDisplayThemePink'; </script> <script type="text/javascript"

src="http://www.baomoi.com/Widget/JS/Widget.js"></script> <script type="text/javascript" src="http://www.baomoi.com/Widget/GenerateJS.aspx?

zone=55&count=10&ntype=popular&dtype=2&target=0"></script> Code Truyện cười:

Xem truyện cười <iframe frameborder="1" width="98%"

src="http://www.luudiachiweb.com/truyencuoi.htm" height="300"></iframe> Code tra Từ điển trực tuyến:

</iframe> <iframe name=khungphu frameborder="1" height=220 width=100% src="http://thienchanh.webng.com/tudien.txt"></iframe>

Code Lịch truyền hình xem bóng đá:

<iframe src="http://bongda.com.vn/truyenhinh.aspx" frameborder="1" width="100%" height="200" scrolling="yes"></iframe>

Code Xưa Nay:

<iframe width = "100%" src = "http://home.vnn.vn/ngaynaynamxua/"></iframe> Code ngựa chạy (Past vào mục thông tin quyền):

<marquee style="z-index: 1; left: 10px; width: 770px; position: absolute; top: 20px; height: 1000px;" scrollamount="5" direction="right"><span class="falling1"><img

src="http://d.violet.vn/uploads/resources/161/0.horses_76.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee><mar quee style="z-index: 1; left: 10px; width: 770px; position: absolute; top: 60px; height: 1000px;" scrollamount="8" direction="right"><span class="falling1"><img

src="http://d.violet.vn/uploads/resources/161/0.horses_75.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee><mar quee style="z-index: 1; left: 10px; width: 770px; position: absolute; top: 80px; height: 1000px;" scrollamount="10" direction="right"><span class="falling1"><img

src="http://d.violet.vn/uploads/resources/161/0.horses_47.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

(4)

<marquee style="z-index: 1; left: 677px; width: 30px; position: absolute; top: -11px; height: 1000px;" scrollamount="4" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 191px; width: 30px; position: absolute; top: -231px; height: 1000px;" scrollamount="5" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 636px; width: 30px; position: absolute; top: -266px; height: 1000px;" scrollamount="7" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 672px; width: 30px; position: absolute; top: -495px; height: 1000px;" scrollamount="9" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 425px; width: 30px; position: absolute; top: -440px; height: 1000px;" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 645px; width: 30px; position: absolute; top: -133px; height: 1000px;" scrollamount="3" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 270px; width: 30px; position: absolute; top: -335px; height: 1000px;" scrollamount="4" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 248px; width: 30px; position: absolute; top: -121px; height: 1000px;" scrollamount="7" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> <marquee style="z-index: 1; left: 374px; width: 30px; position: absolute; top: -478px; height: 1000px;" scrollamount="2" direction="down"><span class="falling1"><img

src="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"

_fcksavedurl="http://www.blinkyou.com/falling/images/hotpinkflower.gif"></span></marquee> Code Bướm bay:

<embed allowScriptAccess="never" allowNetworking="internal" enableJavaScript="false" src="http://www.crazyprofile.com/butterfly/Butterfly.swf?

(5)

wmode="transparent"><br><div><a href="http://www.crazyprofile.com/butterfly/butterflies.asp" target="_blank">Butterflies at crazyprofile.com</a></div>

Code Cá bơi:

<embed src='http://www.crazyprofile.com/fish.swf'

quality='high' wmode=Transparent allowScriptAccess="never" width='300' height='300' type='application/x-shockwave-flash'

pluginspage='http://www.macromedia.com/go/getflashplayer'/></embed> Code Đồng hồ Solex:

<embed src="http://www.nackvision.com/goodies/clocks/nackvision_timer06.swf" quality="high" width="240" height="240" name="calendar" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>

Code Tìm kiếm Google:

(Xem báo)<script type="text/javascript"> epi_id = 'epi-widget-container'; epi_width = '170'; epi_height = '220'; epi_theme = 'widgetDisplayThemePink'; epi_border = 1; </script> <script type="text/javascript" src="http://www.baomoi.com/Widget/JS/Widget.js"></script> <script type="text/javascript"

src="http://www.baomoi.com/Widget/GenerateJS.aspx?zone=-1&count=30&ntype=popular&dtype=2&target=0"></script> <form

action="http://www.google.com/cse" id="cse-search-box"> <h2><font color="#FF0000"><b>CƠNG CỤ TÌM KIẾM</b></font></h2> <br> <img border="0" alt="Google"

src="http://d.violet.vn/uploads/resources/507/0.Logo_25wht.gif" <input type="hidden" name="cx" value="012596416485239023597:bdyrt64se6s" /> <input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="25" /> <p> <input type="radio" name="sitesearch" value="" /> Tìm kiếm tất cả<br> <input type="radio" name="sitesearch"value="http://violet.vn/" checked="checked" /> Thư viện Violet <br> <input type="radio"

name="sitesearch"value="http://giaoan.violet.vn/" checked="checked" /> Thư viện Giáo án<br> <input type="radio" name="sitesearch"value="http://dethi.violet.vn/" checked="checked" /> Thư viện Đề thi <br> <input type="radio" name="sitesearch"value="http://baigiang.violet.vn/"

checked="checked" /> Thư viện Bài giảng<br> <input type="radio"

name="sitesearch"value="http://trunggvvl.violet.vn/" checked="checked" /> Trang </p> <p> <input type="submit" name="Thanh" value="Tìm kiếm với Google" /></p> </form>(Hỗ Trợ trực tuyến

Code Đồng hồ lắc Flash:

<embed src=" http://d.violet.vn/uploads/resources/495/0.Lam_dong_ho_Flash.swf?

TimeZone=VietNam_Hanoi&Place=&" width="180" height="180" wmode="transparent" type="application/x-shockwave-flash">

Code Lịch Flash:

<embed src="http://d.violet.vn/uploads/resources/495/0.kal18.swf"

pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="180" height="230">

(6)

<embed src="http://d.violet.vn/uploads/resources/495/0.calculator.swf"

pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="180" height="230">

Code Danh ngôn song ngữ Anh-Việt

<script src="http://www.gmodules.com/ig/ifr?

url=http://danico.googlepages.com/iframe.xml&up_myname=&up_mylink=&up_myurl=http%3A %2F%2Fhotrotrekhiemthinh.110mb.com%2FJAVA%2520SCRIPT%2FDANH%2520NGON

%2Fdanhngonsongngu-final.htm&up_mywidth=180&up_myheight=250&up_myalign=center&synd=open&w=180&h=250& title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>

Code Du lịch - Danh lam thắng cảnh

<script src="http://www.skydoor.net/gadget/vietnamtravel/random?format=javascript" type="text/javascript"></script>

Code Album Hoa đẹp

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,40,0 " align="middle" width="348" height="289"><param name="movie"

value="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow swf?xmlPath=http://photo.timnhanh.com/slideshow/bellsla/35A71462/fade.xml"/><param

name="wmode" value="transparent" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="mAuto" value="false" /><embed width="348" height="289" mAuto="false" wmode="transparent" allowscriptaccess="always"

allowfullscreen="true" quality="high"

src="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow.sw f?xmlPath=http://photo.timnhanh.com/slideshow/bellsla/35A71462/fade.xml" type="application/x-shockwave-flash"/></object>

Code Nhà đẹp

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,40,0 " align="middle" width="348" height="289"><param name="movie"

value="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow swf?xmlPath=http://photo.timnhanh.com/slideshow/hien6dn/35A71B90/fade.xml"/><param

name="wmode" value="transparent" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="mAuto" value="false" /><embed width="348" height="289" mAuto="false" wmode="transparent" allowscriptaccess="always"

allowfullscreen="true" quality="high"

src="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow.sw f?xmlPath=http://photo.timnhanh.com/slideshow/hien6dn/35A71B90/fade.xml" type="application/x-shockwave-flash"/></object>

Code Cá cảnh :

<script type="text/javascript"

(7)

(WIDGETBOX)

WIDGETBOX.renderWidget('b8b608be-780d-4a43-a926-de2a7b4a95bf');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/zen-fish-tank-aquarium-by-buddhahands">Zen Fish Tank (Aquarium) by LocalHealers</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a

href="http://www.widgetbox.com">Widgetbox</a>!</noscript> Code Cây cảnh

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,40,0 " align="middle" width="348" height="289"><param name="movie"

value="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow swf?xmlPath=http://photo.timnhanh.com/slideshow/hien6dn/35A7098B/slideleft.xml"/><param name="wmode" value="transparent" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="mAuto" value="false" /><embed width="348" height="289" mAuto="false" wmode="transparent" allowscriptaccess="always"

allowfullscreen="true" quality="high"

src="http://static.timnhanh.com/yumephoto/20090608/images/flash/slideshow/20080703/slideshow.sw f?xmlPath=http://photo.timnhanh.com/slideshow/hien6dn/35A7098B/slideleft.xml"

type="application/x-shockwave-flash"/></object> CODE Bể cá cảnh:

<object type="application/x-shockwave-flash"

data="http://widgets.clearspring.com/o/486c097c0199c884/4a34f7c5d3778819/486c0985da626c82/40 aa1df8" id="W486c097c0199c8844a34f7c5d3778819" width="400" height="345"><param

name="movie"

value="http://widgets.clearspring.com/o/486c097c0199c884/4a34f7c5d3778819/486c0985da626c82/4 0aa1df8" /><param name="wmode" value="transparent" /><param name="allowNetworking"

value="all" /><param name="allowScriptAccess" value="always" /></object> CODE Thác nước:

<object type="application/x-shockwave-flash"

data="http://widgets.clearspring.com/o/4852c6ad8adeae53/4a34fa9f8d854a07/4852c6bf0dd110e3/9b0 b5e18" id="W4852c6ad8adeae534a34fa9f8d854a07" width="404" height="344"><param

name="movie"

value="http://widgets.clearspring.com/o/4852c6ad8adeae53/4a34fa9f8d854a07/4852c6bf0dd110e3/9b 0b5e18" /><param name="wmode" value="transparent" /><param name="allowNetworking"

value="all" /><param name="allowScriptAccess" value="always" /></object> CODE Cảnh đẹp:

<script src="http://www.skydoor.net/gadget/vietnamtravel/random? format=javascript&width=200"></script>

CODE Lịch:

<embed src="http://d.violet.vn/uploads/resources/495/0.kal18.swf"

(8)

CODE Lịch kèm Đồng hồ:

<embed src="http://d.violet.vn/uploads/resources/495/0.calendarmo4.swf"

pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="180" height="240">

CODE để thay đổi màu đường link blog mình: <STYLE type=text/css>A:link {

COLOR:green; FONT: 10pt Arial; TEXT-DECORATION:none }

A:visited {

COLOR: blue; FONT: 10pt Arial; TEXT-DECORATION:none }

A:hover {

COLOR:blue; FONT: 10pt Arial; TEXT-DECORATION:none }

</STYLE>

Các bạn copy đoạn code dán vào khối HTML Có thể chèn đoạn code trước sau đoạn code khác

Hãy tự khám phá : Các bạn thay đổi chữ in đậm theo màu font chữ xem kết tạo ! Với menu ngang phía blog hỗ trợ theme cách tạo dễ dàng Tuy nhiên, để tạo thêm menu cuối trang khơng thể thực thông thường Để làm điều cần chèn thêm code vào blog

CODE để tạo thêm menu ngang cuối trang thẻ HTML: Cấu trúc code sau :

<div class="menutop nowrap" id="chromemenu"><ul><li><a href="link"><span> Tên menu </span></a></li></div>

Để tạo thêm menu bạn lặp lại đoạn code <li><a href="link"><span> Tên menu </span></a></li> tuỳ theo số menu cần tạo

Lưu ý :

- Hãy thay link địa (URL) cần link đến menu - Thay tên menu tên bạn muốn hiển thị menu.

Các bạn xem ví dụ menu ngang tạo cuối trang Chúc bạn thành công !

(9)

tiếng” trang web Một số blog cung cấp sẵn đếm wordpress hay yahoo 360, blogspot số site khác khơng có sẵn Sau tơi xin giới thiệu với bạn số website miễn phí giúp bạn đưa đếm vào website hay blog

Cách sử dụng đơn giản, bạn cần đăng kí tài khoản website, cung cấp địa website hay blog bạn, sau sinh đoạn mã chứa HTML Javascript, bạn copy đoạn mã đặt vào đâu website mình, chỗ mà bạn muốn

Các bạn xem số hình minh họa mà hiển thị đưa vào website chúng ta, nhiều kiểu dáng, bạn vào site để xem lựa kiểu thích hợp

 http://www.sitemeter.com

 http://www.onestat.com

 http://www.gostats.com (site có hỗ trợ tiếng Việt)

(10)

Sau dùng thử số site định chọn histats có hình thức hiển thị hay hiển thị đầy đủ thông tin mà cần cho blog

Nếu site cung cấp đếm khơng đáp ứng nhu cầu bạn bạn tự tạo cho đếm thích hợp

(Blogtinhoc)

File thơng báo ngày tháng flash Chỉ việc sử dụng đoạn mã code cho sẵn để tạo nhanh chóng file Bạn đặt file website, vị trí cần hiển thị ngày hiện tại.

Ngoài để thêm sinh động hơn, bạn tạo thêm màu ảnh cho thông báo ngày Để xem Flash trình duyệt phải hỗ trợ Flashplayer!

Bước 1

(11)

Bước 2

Chọn công cụ Text Tool (T) vào phần Properties Panel (Ctrl + F3) Trong phần bên trái, bạn thấy hộp Text Type xổ xuống Chọn Dynamic Text hộp menu này:

Vẽ hình chữ nhật để hiển thị ngày hình chữ nhật

Bước 3

Vào lại phần Properties Panel (Ctrl + F3), phần Var nhập date

Bước 4

Thực lại bước đễ vẽ ô text khác để hiển thị ô ngày vừa vẽ, giá trị Var của ô bạn nhập time

Bước 5

Chọn hai hộp text vừa vẽ, nhấn F8 (Convet to Symbol) để chuyển hộp text sang dạng Movie Clip Symbol

Bước 6

Chọn công cụ Selection Tool (V) kích vào Movie Clip vừa tạo Vào phần Action Script Panel (F9) đưa vào đoạn mã sau:

onClipEvent (load) {

weekdays = ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy"];

months = ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", " Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", " Tháng 11", "Tháng 12"];

}

onClipEvent (enterFrame) { myDate = new Date();

(12)

tMonth = months[myDate.getMonth()]; tDate = myDate.getDate();

tYear = myDate.getFullYear(); tHour = myDate.getHours(); tMin = myDate.getMinutes(); tSec = myDate.getSeconds();

date = "Hôm nay, "+tDay+" ngày "+tDate+" "+tMonth+", năm "+tYear; time = "Bây là: "+tHour+" "+tMin+" phút "+tSec+" giây"; }

http://www.sitemeter.com http://www.onestat.com http://www.gostats.com http://www.histats.com nguồn đây!

Ngày đăng: 11/04/2021, 17:10

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan