1 Attachment(s)
Tạo hiệu ứng tuyết rơi trên forum
Gần đến Noel rồi, giới thiệu các bạn mod hiệu ứng tuyết rơi trên forum khá đẹp mắt
Hướng dẫn:
- upload file jsnow.js vào thư mục root của forum (tức ngang hàng với file index.php)
- Thêm đoạn code sau vào trên cùng của template header:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fallaing Snow by http://www.itvnn.net</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
<script type="text/javascript" src="jsnow.js"></script>
<script type="text/javascript">
$(function() {
$().jSnow();
});
</script>
</head>
<body></body>
</html>
Vậy là xong rồi, chúc thành công!