o0 Chém Gió 0o
Would you like to react to this message? Create an account in a few clicks or log in to continue.
o0 Chém Gió 0o

Chém gió | 8 chít | bun đưa


You are not connected. Please login or register

[Hót]SideMenu

Go down  Message [Page 1 of 1]

1[Hót]SideMenu Empty [Hót]SideMenu Thu Jun 16, 2011 3:34 pm

ikaros

ikaros
Master
Master

Chèn zào khu template nào mà bạn thik!
Foot hoạt là Head
Code:
<script SRC="http://kiddymylove235.googlepages.com/Codemenu.js" language="Javascript1.2"></script>
<script SRC="http://kiddymylove235.googlepages.com/Menuac.js" language="Javascript1.2"></script>

Trong đó, Codemenu.js là code "lái" cái menu nài!! Chả biết diễn tả sao cho đúng nhưng phần để "lái" này không cần sửa .
Còn Menuac.js là thứ cần sửa một tí cho nó phù hợp với forum của các bạn vì trong nầy có 1 số thuộc forum tớ như link topic,.. .Và nội dung của nó như sau

Code:
<!--

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssm2Items colors
*/
YOffset=80; // no quotes!!
XOffset=0;
staticYOffset=30; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=100; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
menuBGColor="black";
menuIsStatic="yes"; //this sets whether menu should stay static on the screen
menuWidth=150; // Must be a multiple of 10! no quotes!!
menuCols=2;
hdrFontFamily="verdana";
hdrFontSize="2";
hdrFontColor="white";
hdrBGColor="#000000";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="15";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="white";
linkOverBGColor="#FFFF99";
linkTarget="_top";
linkAlign="Left";
barBGColor="#444444";
barFontFamily="Verdana";
barFontSize="2";
barFontColor="white";
barVAlign="center";
barWidth=15; // no quotes!!
barText=" Menu truy cập nhanh"; // <IMG> tag supported. Put exact html for an image to show.

///////////////////////////

// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
ssmItems[0]=["Menu Chính"] //create header
ssmItems[1]=["Trang chủ", "index.htm", ""]
ssmItems[2]=["Nội quy chung", "/forum-f47/topic-t48.htm#123",""]
ssmItems[3]=["Tin tức", "/category-c5/", ""]
ssmItems[4]=["Download", "/forum-f30/", ""]
ssmItems[5]=["Tiện ích"]
ssmItems[6]=["Trợ giúp", "faq.htm", "_new", 1, "no"]
ssmItems[7]=["Up ảnh", "http://photobucket.com/", "",1]
ssmItems[8]=["Tìm kiếm", "/search.forum", "", 1, "no"] //create two column row
ssmItems[9]=["Bài mới", "/post.forum?mode=newtopic&f=3", "",1]

//ssmItems[7]=["FAQ", "", "", 1, "no"] //create two column row
//ssmItems[8]=["Contact", "", "",1]

ssmItems[10]=[" Thành viên"] //create header
ssmItems[11]=["Trang cá nhân", "ucp.php", ""]
ssmItems[12]=["Tin nhắn", "/msg.forum?folder=inbox", ""]
ssmItems[13]=["Chữ kí", "/profile.forum?mode=editprofile&page_profil=signature", ""]
ssmItems[14]=["Ảnh đại diện", "/profile.forum?mode=editprofile&page_profil=avatars", "", 1, "no"]
ssmItems[15]=["Nháp", "/search.forum?search_id=draftsearch", "", 1]
ssmItems[16]=["Hồ sơ cá nhân", "/profile.forum?mode=editprofile", "", 1, "no"]
ssmItems[17]=["Bạn bè và sổ đen", "/profile.forum?mode=editprofile&page_profil=friendsfoes", "", 1]
ssmItems[18]=["Người điều hành"] //create header
ssmItems[19]=["Bảng điều khiển", "/admin/", ""]

buildMenu();

//-->
// Laser - http://nguyendu.foruml.biz - 08/2008

Sửa bằng cách copy đoạn trên rồi paste vào notepad.
Phần tiếng việt và dòng link sau nó là phần các bạn có thể sửa theo ý các bạn, còn tớ nghĩ nên thay 1 số phần như sau thôi:
-Nội quy chung;
-Tin tức;
-Download;
-Up ảnh.
Để cho phù hợp với forum các bạn .
Sau khi edit thì save as > encoding=Unicode; loại file là all file. đặt tên là **.js
** là đặt bằng gì cũng được miễn sao .js Laughing
upload lên host nào rồi lấy link paste vào cái link của mình í.

<script SRC="http://kiddymylove235.googlepages.com/Codemenu.js" language="Javascript1.2"></script>
<script SRC="PASTE VÀO ĐÂY" language="Javascript1.2"></script>

Nhớ là chèn vào phần nào trong templates để nó hiển thị nơi các bạn muốn.
Done!
Demo
[Hót]SideMenu 13
[Hót]SideMenu Untitled-2

https://xitai.123.st

Back to top  Message [Page 1 of 1]

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