Diễn đàn Chia sẻ Game Private

Diễn đàn giải trí Game Private thảo luận về game online, tin tức hàng ngày, game diện thoại, ứng dụng mobile


You are not connected. Please login or register

[Code] icon trước nick theo nhóm

Go down

Admin

1[Code] icon trước nick theo nhóm Empty Tue Feb 12, 2013 7:53 am

Admin
Admin Sáng Lập Viên

Bài Viết : 560

Xu : 6711

Cảm ơn : 507

Tạo 1 trang html: bỏ code ở dưới vào



Ẩn rồi Trả lời và thanks đi rồi thấy
Hướng dẫn :
nếu forum nào muốn mem cũng có rank icon thì phải cho mem vào 1 nhóm
Để tạo nhóm member thì các bạn vào QLND-QLN [You must be registered and logged in to see this image.] quản lý nhóm [You must be registered and logged in to see this image.] tạo nhóm mới
làm như hình

[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this image.]


Sau đó
hãy xác định mã màu HEX của từng nhóm

[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this image.]
rồi các bạn chuyển mã màu của từng nhóm về mã RGB lưu vào 1 chỗ nhé (notepad) (ai biết r thì thôi)
mình thì dùng PS

[You must be registered and logged in to see this link.]
[You must be registered and logged in to see this image.]
VD:
rgb(255, 0, 0) ~ #ff0000 -> admin
rgb(0, 200, 14) ~ #00c80e -> mod
. . .
forum bao nhiêu nhóm thống kê như trên hết

sau đó thay lên ở những vị trí
Code:
Code:
if ((x[y].style.color=="rgb(255, 0, 0)")||(x[y].style.color=="#ff0000"))
 {icon = "<img
src='http://i38.servimg.com/u/f38/15/28/02/06/missv10.gif'>";x[y].innerHTML
 = icon + oldHTML;}

nhìn là thấy r nhỉ [You must be registered and logged in to see this image.] (lưu ý mã hex khi thay lên trên phải là chữ thường VD: "#ff0000" không được dùng "#FF0000"). bên cạnh là link ảnh nhóm nhé

Muốn thêm nhóm nào thì các bạn thêm 1 đoạn code như thê này
Code:
if ((x[y].style.color=="rgb(255, 0, 0)")||(x[y].style.color=="#ff0000"))
 {icon = "<img
src='http://i38.servimg.com/u/f38/15/28/02/06/missv10.gif'>";x[y].innerHTML
 = icon + oldHTML;}

sau khi tạo html sẽ có cái link: VD của gamemaster là
[You must be registered and logged in to see this link.]

chèn code vào fooder begin

https://v-zones.forumvi.com
Thích0Báo xấu0

Gửi một tin nhắn lên tường.

Gửi báo cáo lỗi về bài viết này.

Tag:

View previous topic View next topic Back to top Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 
  • Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com