Admin

Nothing to lose.. your love to win..
23,368 ❤︎ Bài viết: 3775 Tìm chủ đề
3931 33
Kiếm tiền
Admin đã kiếm được 39310 đ
Code con ruồi

Theo phong trào ruồi bò trên web giống Fshare.

Chèn code sau vào thẻ head của bạn.

Chú ý giữ gìn vệ sinh sạch sẽ cho website kẻo lây bệnh cho các trang web khác :D

Demo: dembuon.vn

Mã:
<!-- Thêm ruồi -->
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js'></script>
<script src='https://dembuon.vn/lib/flies/flier.js' type='text/javascript' var_1='true' var_2='true' var_3='false' var_4='1'></script>
<!-- Hết ruồi -->

Var_1 = bật tắt ruồi.

Var_2 = bật tắt ruồi chúa.

Var_3 = tốc độ cao.

Var_4 = '1' là tỉ lệ % ngẫu nhiên hiển thị ruồi khi load lại trang.
 
Chỉnh sửa cuối:
23,368 ❤︎ Bài viết: 3775 Tìm chủ đề
Thêm mã dự phòng từ Fshare

Mã:
<!-- Thêm ruồi -->
<script type="text/javascript" var_1="true" var_2="false" var_3="false" var_4="80" src="https://static1.fshare.vn/js/flies-obj-2.1.js?v=f596f1d8"></script>
<!-- Hết ruồi -->

Bạn nào muốn thay hoặc thêm con ruồi thành con khác thì thêm ở đoạn này:

JavaScript:
setTimeout(function() {
        if (Math.random() < show_percent/100) {   
            // Object Fly("ID", "Type", "Color", move_space_height, move_space_width, position_x, position_y, "flies_image_url");
            switch (value) {
                case 1:
                    var fly = new Fly("test", "Nhặng", "Tuyệt sắc", height_fly, width_fly, 0, 0, "https://storage.fshare.vn/web/tieu_long_ruoi.png", "Tía»ƒu Long Rúa»"i", "Cổ Má»™");
                    break;
                case 2:
                    var fly = new Fly("test", "Nhặng", "Äen", height_fly, width_fly, 0, 0, "https://storage.fshare.vn/web/ly_mac_ruoi.png", "LĂ½ Mạc Rúa»"i", "Cổ Má»™");                       
                    break;
                case 3:
                    var fly = new Fly("test", "Nhặng", "Xanh", height_fly, width_fly, 0, 0, "https://storage.fshare.vn/web/doc_co_ruoi.png", "Äá»™c CĂ´ Rúa»"i", "Hoa SÆ¡n");       
                    break;
                }
            fly.move();
            fly.set_random_goaway(max_goaway_time);

        }
        // console.log(Math.random() + '|' + show_percent_fly2/100);
        if(var_2 == 'true'){
            if (Math.random() < show_percent_fly2/100) {
                console.log('fly 2 appear');
                var fly2 = new Fly("test", "Nhặng", "Äen", height_fly, width_fly, 0, 0, "https://storage.fshare.vn/web/ly_mac_ruoi.png", "LĂ½ Mạc Rúa»"i", "Cổ Má»™");   
                fly2.move();
                fly2.flying();
                fly2.set_random_goaway(max_goaway_time);   
            }
        }                   
    }, show_time);
 

Những người đang xem chủ đề này

Xu hướng nội dung

Back