Bạn ghé thăm diễn đàn lần đầu? hãy đăng ký ngay bây giờ để tham gia.
  • Đăng nhập:

Chào mừng bạn đến với ITVNN FORUM - Diễn đàn công nghệ thông tin.

Nếu đây là lần đầu tiên bạn tham gia diễn đàn, xin mời bạn xem phần Hỏi/Ðáp để biết cách dùng diễn đàn. Để có thể tham gia thảo luận bạn phải đăng ký làm thành viên, click vào đây để đăng ký.


  • Partner Area
    • ITVNN HOSTING - Thiết kế website, Cung cấp Domain, Hosting, VPS Việt Nam Anh Hùng - Thông tin truyền thông
kết quả từ 1 tới 4 trên 4
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    Dunglx's Avatar

    Trạng thái
    Offline
    Họ tên
    VAV
    Tham gia ngày
    Aug 2010
    Thành viên thứ
    29041
    Đến từ
    Gia lâm
    Giới tính
    Bài gởi
    1,762
    Level: 49 [?]
    Experience: 8,797,395
    Next Level: 10,000,000
    Cảm ơn 597
    Cảm ơn 530 lần / 370 Bài viết

    Default Mini mod Menu thả xuống khi rê chuột  

    Hướng dẫn sử dụng:

    Bạn tải file JS ở file đính kèm về và upload vào thư mục clientscript

    Sau đó bạn vào Admincp => Styles & Templates => chọn Style bạn cần sửa => chọn templates headinclude

    Chèn đoạn này vào dưới cuối:

    Code: 
    <style type="text/css">
    @charset "utf-8";
    #menu2 a {color:navy;background-color:white;text-decoration:none;text-indent:1ex;}
    #menu2 a:active    {color:blue;text-decoration:none;}
    #menu2 a:visited {color:blue;text-decoration:none;}
    #menu2 a:hover {color:navy;background-color:#f0fea8}
    </style>
    <script src="clientscript/mmenu.js" type="text/javascript"></script>
    Save lại.

    Bạn mở templates FORUMHOME ra và chèn đoạn này dưới thẻ <body>

    Code: 
    <script src="clientscript/mmenu.js" type="text/javascript"></script>
    <script type="text/javascript">
    /***********************************************
    * Omni Slide Menu script - © John Davenport Scheuer
    * very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
    * as first mentioned in http://www.dynamicdrive.com/forums
    * username:jscheuer1
    ***********************************************/
    
    //One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
    resizereinit=true;
    
    menu[2] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
    id:'menu2', //use unique quoted id (quoted) REQUIRED!!
    /////////////////////////////////////
    ///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
    /////////////////////////////////////
    user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
    user_defined_markup:false, //if true, prevents script from generating markup for this menu
    design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
    menutop:160,     // initial top offset - except for top menu, where it is meaningless
    menuleft:'45%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
    keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
    menuspeed:20,    // Speed of menu sliding smaller is faster (interval of milliseconds)
    menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
    d_colspan:3,     // Available columns in menu body as integer
    allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
    barwidth:20,     // bar (the vertical cell) width
    wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
    hdingwidth:210,  // heading - non linked horizontal cells width
    hdingheight:25,  // heading - non linked horizontal cells height
    hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
    linkheight:20,   // linked horizontal cells height
    linktopad:3,     // linked horizontal cells top padding
    borderwidth:2,   // inner border-width used for this menu
    /////////////////////////// quote these properties: /////////////////////
    bordercolor:'#FF0000', // inner border color
    borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
    outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
    outbrdcolor:'lightblue',  // outer border color
    outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
    barcolor:'white',        // bar (the vertical cell) text color
    barbgcolor:'#FF0000',   // bar (the vertical cell) background color
    barfontweight:'bold',    // bar (the vertical cell) font weight
    baralign:'center',       // bar (the vertical cell) right left or center text alignment
    menufont:'verdana',      // menu font
    fontsize:'90%',          // express as percentage with the % sign
    hdingcolor:'white',      // heading - non linked horizontal cells text color
    hdingbgcolor:'#FF0000',  // heading - non linked horizontal cells background color
    hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
    hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
    hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
    linktxtalign:'left',     // linked horizontal cells right left or center text alignment
    linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
    kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
    menupos:'top',         // set side that menu slides in from (right or left or top)
    bartext:'Menu',       // bar text (the vertical cell) use text or img tag
    ///////////////////////////
    menuItems:[
    //[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
    ["<center>NTN onkine</center>"], //create header
    ["NTN online ", "http://www.nguyentrungngan.net", "_new"],
    ["NTN online ", "http://www.nguyentrungngan.net","_new"],
    ["NTN online ", "http://www.nguyentrungngan.net", "_new"],
    ["NTN online ", "http://www.nguyentrungngan.net", "_new"],
    ["NTN online ", "http://www.nguyentrungngan.net", "_new"],
    ["Liên hệ <img alt='Online!' status='' (online='' offline)='' src='http://opi.yahoo.com/online?u=killervnc&amp;m=g&amp;t=1' border='0'>", "ymsgr:sendIM?vav6692", ""]
    
    ]}; // REQUIRED!! do not edit or remove
    
    
    ////////////////////Stop Editing/////////////////
    
    make_menus();
    </script>
    Save lại.

    OK! xong ra forum xem kết quả big green
    Thank cái nhỉ chán kinh
    Hình Kèm Theo Hình Kèm Theo
    File Kèm Theo File Kèm Theo

  2. The Following 4 Thank You to Dunglx For This Useful Post:

    GamesLife (14-07-2011),nvn1510 (25-07-2011),PhucSD (01-07-2011),quocduyze (01-07-2011)

  3. #2
    quocduyze's Avatar
    Banned

    Trạng thái
    Offline
    Tham gia ngày
    May 2011
    Thành viên thứ
    46494
    Giới tính
    Bài gởi
    100
    Level: 33 [?]
    Experience: 470,685
    Next Level: 555,345
    Cảm ơn 20
    Cảm ơn 30 lần / 27 Bài viết

    Default

    Làm xong không thấy zi hết ẹc

  4. #3
    Dunglx's Avatar

    Trạng thái
    Offline
    Họ tên
    VAV
    Tham gia ngày
    Aug 2010
    Thành viên thứ
    29041
    Đến từ
    Gia lâm
    Giới tính
    Bài gởi
    1,762
    Level: 49 [?]
    Experience: 8,797,395
    Next Level: 10,000,000
    Cảm ơn 597
    Cảm ơn 530 lần / 370 Bài viết

    Default

    Trích Nguyên văn bởi quocduyze View Post
    Làm xong không thấy zi hết ẹc
    Cậu xem lại đi mình có chỉnh lại rồi và demo cho cậu luôn rồi đấy
    Cậu nhớ up file Js lên clientscript nhé
    Chúc thành công

    À quên thử bấm nút thank xem có làm được không nhé
    thay đổi nội dung bởi: Dunglx; 01-07-2011 lúc 09:36 PM

  5. #4
    quocduyze's Avatar
    Banned

    Trạng thái
    Offline
    Tham gia ngày
    May 2011
    Thành viên thứ
    46494
    Giới tính
    Bài gởi
    100
    Level: 33 [?]
    Experience: 470,685
    Next Level: 555,345
    Cảm ơn 20
    Cảm ơn 30 lần / 27 Bài viết

    Default

    Trích Nguyên văn bởi dunglx View Post
    Cậu xem lại đi mình có chỉnh lại rồi và demo cho cậu luôn rồi đấy
    Cậu nhớ up file Js lên clientscript nhé
    Chúc thành công

    À quên thử bấm nút thank xem có làm được không nhé

    Ưh Wiew ra mới được cái .js


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trả lời: 1
    Bài mới gởi: 10-07-2023, 04:48 PM
  2. Trả lời: 0
    Bài mới gởi: 17-06-2017, 02:38 PM
  3. Trả lời: 0
    Bài mới gởi: 09-08-2015, 12:32 PM
  4. Trả lời: 0
    Bài mới gởi: 12-01-2010, 02:14 PM
  5. thêm command line vào menu chuột phải
    By hanhkhat in forum Windows
    Trả lời: 0
    Bài mới gởi: 31-10-2009, 06:56 PM

Tags for this Thread

Bookmarks

Quuyền Hạn Của Bạn

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể chỉnh sửa bài viết
  •