View Full Version : Trang chủ noel khá đẹp !
computerangel
01-12-2010, 11:06 AM
Cái này mình mới design lại, tặng các bạn luôn nè,
link download: http://www.mediafire.com/?7avl1bt266a32n5
pass giải nén: x-teen.biz
demo online: http://x-teen.biz/
demo ảnh :
http://img689.imageshack.us/img689/7488/44530158.jpg
http://img209.imageshack.us/img209/4408/77084938.jpg
http://img262.imageshack.us/img262/4863/66211970.jpg
Tiểu Bá Vương 1404
01-12-2010, 11:35 AM
Index quá nhiều hiệu ứng, như thế đẹp nhưng nặng. Ấn tượng với phần messenge bạn, hình như code em nó đây thì phải? Có sai thì sửa giùm hem:
<HTML>
<HEAD>
<TITLE>Tiêu đề....</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script language="JavaScript">
msg = new Array(); //strings written in screen
msg[0] = "<H2><center>Chào mừng các bạn đã đến với X-Teen ! <br></center></H2>";
msg[1] = "Giữa một biển thông tin rộng lớn, bạn cần một mái nhà.<br> x-teen sẽ là mái nhà chung cho tất cả chúng ta xây dựng ";
msg[2] = " <br>Hãy để mỗi khi online công việt đầu tiên của bạn là mở trình duyệt lên <br>và gõ: <font face='Tahoma' color='#0066ff'><center><b>http://x-teen.biz</center></b></font><br> bạn sẽ có một ngôi nhà lớn với nhiều điều thú vị và thư giãn với x-teen! <br>Nhìu họat động , cuột thi hấp dẫn và có thưởng ";
msg[3] = "Cùng nhau chung tay xây dựng x-teen.biz thành ngôi nhà lớn mạnh nào";
msg[4] = "<h1> <center><font face='Tahoma' color='#FF0000'>h t t p : / /x - t e e n . biz</font></center></h1> ";
msg[5] = " <font face='Tahoma' color='#FF0000'>h t t t p : / / x - t e e n . b i z";
text1 = ""; //the same as text2, only the last character is highlighted
text2 = ""; //current string, which will be written
count = 0; //char index in string text
count2 = 0; //number of strings
text = msg[0].split(""); //text - string written
function writetext() { //show strings above on screen
text1 = text2 + "<font color='#ffffff'>" + text[count] + "</font>";
text2 += text[count];
document.all["nothing"].innerHTML = text1; //where to write
if (count < text.length-1){
count++;
setTimeout('writetext()', 25);
}
else { //if this string is written, get the new string
count = 0;
if (count2 != 4) { //write 4 strings
count2++;
text2 += "<p>"; //a new line
text = eval('msg['+count2+'].split("")'); //get the new string to text
setTimeout('writetext()', 25);
}
}
}
</script>
</HEAD>
<BODY text="#ffffff" bgColor="#000000" onLoad="writetext()">
<table align="center">
<div id="nothing" style="width:'800px'; height:'400px'; font-family:'courier new'; font-weight:'bold'"></div>
</table>
<script language="JavaScript">
if (document.all){
Cols = 9; //number of falldown binary string
Cl = 50; //maximum length of binary string
Cs = 100; //number of pixels between binary strings
Ts = 10; //font-size of binary string
Tc = '#008800'; //color of binary string
Tc1 = '#00ff00'; //color of 1st bit in binary string
MnS = 22; //minimum speed of binary string
MxS = 25; //maximum spees of binary string
I = Cs;
Sp = new Array(); //array speed of binary strings
S = new Array(); //the position of binary string
Y = new Array(); //array of position of binary strings
C = new Array(); //array save bits of string
M = new Array(); //binary string
B = new Array(); //temp for creating binary string
RC = new Array(); //length of binary strings
E = new Array(); //array of head-bit in written strings
Tcc = new Array(0,1,2,3,4,5,6,7,8,9); //array of head-bit in binary strings
document.write("<div id='Container' style='position:absolute; top:0; left+Cs+"'>");
for (i=0; i < Cols; i++){ //area to show binary strings
S[i] = I += Cs; //calculate the position of binary string
document.write("<div id='A' style='position:absolute; top:0; font-family:Arial;" +
"font-size:" + Ts + "px; left:" + S[i] + "; width:" + Ts + "px;" +
"height:0px; color:" + Tc + "; visibility:hidden'></div>");
}
document.write("</div>");
}
for(j = 0; j < Cols; j++){
RC[j] = 1 + Math.round(Math.random()*Cl); //random length of the binary strings
for(i=0; i < RC[j]; i++){
B[i] = ""; //sign of ending of string
C[i] = Math.round(Math.random())+' '; //get bit in binary strings
B[0] += C[i];
}
M[j] = B[0]; //binary string
Y[j] = 0; //1st position of strings are 0
Sp[j] = Math.round(MnS+Math.random()*MxS); //random speed of binary strings
}
function Cycle(){
Container.style.top = window.document.body.scrollTop;
for (i=0; i < Cols; i++){
var r = Math.floor(Math.random()*Tcc.length); //get a position in table Tcc
E[i] = '<font color='+Tc1+'>'+Tcc[r]+'</font>'; //get the head-bit
Y[i]+=Sp[i]; //the position of current string
if (Y[i] > window.document.body.clientHeight) { //if at the end of window, calculate again
i2 = 1 + Math.round(Math.random()*Cols);
RC[i2] = 1 + Math.round(Math.random()*Cl);
for(i3 = 0; i3 < RC[i2]; i3++){ //get bit in binary strings
B[i3] = "";
C[i3] = Math.round(Math.random())+' ';
B[0] += C[i3];
}
M[i] = B[0];
Y[i] = -Ts*M[i].length/1.5; //hide 2/3 string at beginning
Sp[i] = Math.round(MnS+Math.random()*MxS); //random speed of binary strings
A[i].style.visibility = 'visible';
}
A[i].style.top=Y[i]; //the i-th in tag div A
A[i].innerHTML=M[i] + ' ' + E[i]; //show the binary string in tag A
}
setTimeout('Cycle()',100)
}
Cycle();
</script>
<center>
<br>
<strong><br>
<font size="3" color=#ffffff>design by; traitinhlecovehieudoi_tn87</strong></p>
<p> </p>
<p> </p>
</center>
</BODY>
</HTML>
Thêm nữa, hình như cái này anh bavuongduongpho có share một lần, còn của bạn thì mix lại, he he!
computerangel
01-12-2010, 12:59 PM
hi`, bác này đã CRTL+U của em rùi, đúng code đó đấy , các bác cứ mang về chọc phá theo ý muốn, còn đây là link gốc đây nề: http://www.x-teen.biz/index1.html
chrisjericho26
05-12-2010, 10:03 PM
Cài đặt sao thế mấy anh
hanhkhat
05-12-2010, 10:44 PM
Cài đặt sao thế mấy anh
down về. up tất cả lên host thì phải:MatCuoi:
chrisjericho26
06-12-2010, 07:20 PM
down về. up tất cả lên host thì phải:MatCuoi:
Sao chung chung thế.
computerangel
09-12-2010, 09:36 AM
thi đúng là up tất cả lên host (up ngang hàng admincp), tất nhiên là phải chỉnh sửa html, chứ o nó về x-teen.biz nhà tớ :MatCuoi (9):
loctinh2030
09-12-2010, 10:28 PM
ngoài ra còn impro style nữa, nhớ là phải vào setting>> option >> chọn style và chỉnh lại style mặc định.
hongthuy271107
11-12-2010, 08:00 PM
ngoài ra còn impro style nữa, nhớ là phải vào setting>> option >> chọn style và chỉnh lại style mặc định.
index lấy đâu XML mà import hả bạn.cái này bạn có thể up vào 1 thư lục riêng cho đỡ khỏi lằng nhằng khi bạn up xong rùi bạn thêm 1 file tạo đường dẫn cho vào cái trang home đó là đc
HTT.itvn
11-12-2010, 08:21 PM
index lấy đâu XML mà import hả bạn.cái này bạn có thể up vào 1 thư lục riêng cho đỡ khỏi lằng nhằng khi bạn up xong rùi bạn thêm 1 file tạo đường dẫn cho vào cái trang home đó là đc
Tạo thư mục thì không đẹp rồi , nên để file index cùng hàng với thư mục forum của bạn thì sẽ tiện hơn .
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.