Code trỏ chuột
Code chuột chữ Việt nè các bạn ơi ! Dễ dùng lắm !
var text='NỘI DUNG HIỂN THỊ';
var delay=22;
var Xoff=0;
var Yoff=10;
var txtw=8;
var beghtml='';
var endhtml='';
ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false;
ie4 = (document.all && !document.getElementById)? true : false;
ie5 = (document.all && document.getElementById)? true : false;
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var txtA=new Array();
text=text.split('');
var x1=0;
var y1=-1000;
var t='';
for(i=1;i1;i=i-1){
if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){
moveid(txtA[i-1],0,-1000);
moveid(txtA[i],0,-1000);
}else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1]));
}
moveid(txtA[1],x1,y1);
}
window.onload=function(){
for(i=1;i...
Code nhạc Sinh nhật nhúng vào bài viết
Code nhạc Sinh nhật nhúng vào bài viết:
Code nhạc sinh nhật Anh-Việt dạng skin (tự động play):
Code nhạc sinh nhật Anh-Việt dạng skin (không tự động play):
...
Code đếm ngược thời gian đến một sự kiện trong tương lai
function setcountdown(theyear,themonth,theday){
yr=theyear;mo=themonth;da=theday
}
setcountdown(2010,12,24)
var occasion="Noel"
var message_on_occasion="Merry Christmas"
var countdownwidth='480px'
var countdownheight='20px'
var countdownbgcolor='lightblack'
var opentags=''
var closetags=''
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep",
"Oct","Nov","Dec")
var crosscount=''
function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()
}
if (document.all||document.getElementById)
document.write('')
window.onload=start_countdown
function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
//if on day of occasion
if(dday...
Hoa hồng và mưa
...
Sách và hoa
...
Rồng bay
...
Lịch đàn tranh
...
Code Chữ Chạy DướI Thanh Trạng Thái(4 kiểu)
"
Dưới đây là code của một số dạng chữ chạy dưới thanh trạng thái-Xem dưới chân trang Blog của tôi làm Vd:
" Code 1:
var speed =100 //Số này càng lớn thì chữ chạy càng chậm
var pause = 0
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = " (¯`·.º-:¦:-gõdòng chữ bạn muốn thể hiện vào đây (¯`·.º-:¦:-"
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false }
function startBanner() {
stopBanner()
showBanner() }
...
code tạo bảng thông báo mới nhất
"
"
Tiêu đề
Tiêu đề
Read more:
Under Creative Commons License: ...


Các ý kiến mới nhất