• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Hiệu ứng tooltip cho vbb4

Admin

Well-Known Member
Staff member
Administrator
Thấy các bạn thích sử dụng cái hiệu ứng rê chuột vào title của box nó nhày ra tooltip (chả biết diễn tả sao nữa :(). Nên hôm nay làm cái này chơi nhé, không sử dụng JS nên khỏi lo đụng với mấy mod khác...

Bước 1: tìm temp additional.css add đoạn này vào:

Code:
.forumtitle a small{
    background:rgba(0,0,0,0.7);
    text-align:center;
    width:autp;
    padding:5px;
    border-left:1px solid #111;
    border-top:1px solid #111;
    border-right:1px solid #333;
    border-bottom:1px solid #333;
    display:none;
    color:#fff;
    font-size:0.8em;
    text-indent:0
}

.forumtitle a:hover small{
    display:block;
    position:absolute;
    top:0px;
    /*left:50%;*/
    margin:-20px;
    z-index:9999;
    -moz-animation:mymove .25s linear;
    -webkit-animation:mymove .25s linear
}

@-moz-keyframes mymove{
    0%{-moz-transform:scale(0,0);opacity:0}
    50%{-moz-transform:scale(1.2,1.2);opacity:0.3}
    75%{-moz-transform:scale(0.9,0.9);opacity:0.7}
    100%{-moz-transform:scale(1,1);opacity:1}
}

@-webkit-keyframes mymove{
    0%{-webkit-transform:scale(0,0);opacity:0}
    50%{-webkit-transform:scale(1.2,1.2);opacity:0.3}
    75%{-webkit-transform:scale(0.9,0.9);opacity:0.7}
    100%{-webkit-transform:scale(1,1);opacity:1}
}

Bước 2 (có hai cách):

Cách 1: Ví dụ khi bạn tạo box bạn gõ phần Description lên dòng title luôn và đặt nó trong thẻ <small>Nội dung ở đây</small>
Xem hình

Cách 2: tìm temp forumhome_forumbit_level2_post thay toàn bộ bằng code sau (ở đây các mình làm trên tem mặc định). Các bạn chú ý phần mình bôi đỏ nhé, và edit css phía trên sao cho hợp với style của các bạn.

Code:
<li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L2">
    <div class="forumrow table">
        <div class="foruminfo td">
            <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
            <div class="forumdata">
                <div class="datacontainer">
                    <div class="titleline">
                        <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}[B][COLOR=#FF0000]<vb:if condition="$show['forumdescription']"><small>{vb:raw forum.description}</small></vb:if>[/COLOR][/B]</a></h2>
                        <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
                    </div>
                    

                    <vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
                        <div class="moderators">
                            <h4>{vb:rawphrase moderators}:</h4>
                            <ol class="commalist">
                                <vb:each from="forum.moderators" value="row">
                                    <li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
                                </vb:each>
                            </ol>
                        </div>
                    </vb:if>

                    <vb:if condition="$show['subforums']">
                        {vb:raw forum.subforums}
                    </vb:if>
                </div>
            </div>
        </div>
        <vb:if condition="$forum['statusicon'] != 'link'">
        <h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
            <vb:if condition="$show['externalrss'] OR $show['member']">
        <ul class="forumactionlinks td">
            <vb:if condition="$forum['allowposting']"><vb:if condition="$show['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
            <vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if></vb:if>
        </ul>
        <vb:else />
        <div class="forumactionlinks"></div>
        </vb:if>
        <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
        <ul class="forumstats td">
            <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
            <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
        </ul>
        <div class="forumlastpost td">
            <h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
            <div>
                {vb:raw forum.lastpostinfo}
            </div>
        </div>
        </vb:if>
    </div>
    <vb:if condition="$childforumbits">
        <ul class="childsubforum">
            {vb:raw childforumbits}

        </ul>
    </vb:if>
</li>


Bước 3: Còn không click thank

nguồn: vbb4vn
 
Là cái hiển thị trc 1 đoạn nội dung của bài viết, thông tin topic....

Cái nì cũng ko quan trọng. Trên top thống kê của Chang có sẵn rùi.
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin Hướng dẫn tạo hiệu ứng chữ chạy, ảnh chạy với thẻ Marquee trong HTML5 Mã nguồn wap 0
cuongpro9x Share Hiệu ứng CSS 3D Mã nguồn web 5
cuongpro9x Share [Action] Hiệu ứng "Bồ công anh" - Dandelion Photoshop Action Thiết kế đồ họa 0
T Phần mềm PC Photodex ProShow Gold 7.0.3518 Full Key - Phần mềm dựng CLIP chuyên nghiệp nhiều hiệu ứng Phần mềm 2
V Thủ thuật tăng tốc độ hiệu ứng chuyển cảnh trên Android Thủ thuật ĐTDĐ 0
Smobi Share [Tutorial] Hiệu ứng chữ sắt cực đơn giản nhưng lại bắt mắt Thiết kế đồ họa 0
Smobi Hướng dẫn [Tutorial] - Hiệu ứng ảnh gợn sóng trong Photoshop Thiết kế đồ họa 0
Admin Share flash desktop 2014 - Hiệu ứng pháo hoa, cành mai trên desktop Sử dụng, chia sẻ, hỏi đáp 0
Admin Share plugin tạo hiệu ứng tuyết rơi đẹp cho wordpress Wordpress 0
Admin Share code javascript tạo hiệu ứng tuyết rơi cho web Javascript/ajax 6
Admin Mẹo nhỏ để tăng tốc độ hiệu ứng chuyển cảnh trên Android Thủ thuật ĐTDĐ 0
Admin Share 1000 thủ thuật xử lý ảnh, hiệu ứng với photoshop và ebook Thiết kế đồ họa 1
T [S40-240x320] Phần mềm tạo hiệu ứng ảnh Full Face Java 0
Admin Share photoshop retro text styles - tạo hiệu ứng cho chữ phong cách cổ điển Thiết kế đồ họa 1
H Share Share code JavaScript hiệu ứng trái tim bay lơ lững cho wap JavaScript / Ajax 3
Admin Winaero glass – mang lại hiệu ứng aero glass trong suốt trên windows 8 Phần mềm 0
C S60 Phone Smasher Free- hiệu ứng đập bể màng hình S60 0
V Share Code hiệu ứng tết đẹp by wapcuateen All Shared Scripts 4
boy94 Share hiệu ứng thu phóng ảnh. All Shared Scripts 0
tubotocdo Share Code nhiều hiệu ứng đèn LED đẹp cho văn bản Mã nguồn web 2
Hero Hướng dẫn Tạo Hiệu Ứng Tuyết Rơi Cho Website Javascript/ajax 4
Myshare Công cụ thiết kế mới và Video và hiệu ứng Flash HTML & CSS 0
N Share Share code hiệu ứng chuột cực đẹp All Shared Scripts 0
S Uc browser 8.7 của "Nga" Mod hanlerl hiệu skin đẹpcó cả hiệu ứng âm thanh v.v... Crack, hack, mod, ghép game, ứng dụng 0
Admin Hướng dẫn tạo hiệu ứng tự động refresh trang vbb Vbb tutorial 0
Admin [Share] file PSD hiệu ứng chữ phong cách chúa tể những chiếc nhẫn Thiết kế đồ họa 0
Admin Hiệu ứng ảnh hoàng hôn như phim Thiết kế đồ họa 0
Admin Hiệu ứng ảnh dán băng dính lạ mắt mà đơn giản Thiết kế đồ họa 0
Admin Script hiệu ứng hover link cầu vồng Javascript/ajax 0
CanhChimViet Hiệu ứng đầy đủ cho theme trên FP1, FP2 Thủ thuật ĐTDĐ 0
Admin Hiệu ứng chuyển ảnh 3D với jQuery JavaScript / Ajax 0
Admin Thủ thuật tạo hiệu ứng đẹp cho windows media Thủ thuật máy tính 0
S Hiệu ứng domino từ sự cố sập mạng của Facebook Mạng internet 0
Admin Kích hoạt các hiệu ứng ẩn trong Windows 7 Thủ thuật máy tính 0
B share con trỏ chuột và hiệu ứng link đẹp cho wap Wap builder, wapego, xtgem, wen.ru, wapka, wap4 3
vancongpham sử dụng javascript tạo hiệu ứng làm nổi bật một hình ảnh khi di chuyển chuột lên. JavaScript / Ajax 0
Admin Hướng dẫn 10 bước tạo hiệu ứng chữ sóng âm cho PC Thủ thuật máy tính 3
tuoitho Data sành điệu - Rinh quà hàng hiệu gói cước mobifoneGo Điện thoại di động 4
katy Android Cuối năm họp hành nhiều và hiệu quả đăng ký ngay MT120 của MobiFone Điện thoại di động 14
katy Android Vào ZaloPay: Lật thẻ hàng hiệu - Trúng quà trăm triệu Điện thoại di động 8
F Share Fshare bộ 3 tính năng chia sẻ dữ liệu nhanh - hỗ trợ làm việc nhóm hiệu quả Hosting & Domain Share 0
katy Android MobiFone: Ra mắt thương hiệu dành cho giới trẻ Saymee Điện thoại di động 4
katy Android mobifoneGo: Xài data sành điệu - Rinh điện thoại hàng hiệu Tin tức, giới thiệu về ĐTDĐ 6
D EMS Training là gì? Tập gym ems có hiệu quả như thế nào? Sức khỏe 2
H Chia sẻ phần mềm giúp con học Online tại nhà hiệu quả cho các bậc phụ huynh Tin tức CNTT 0
T Share Phần mềm bảo vệ và giám sát con cái học online hiệu quả nhất Phần mềm 0
minhquang02 Wi-Fi 6 trang bị cho laptop và cách sự hiệu quả nhất Tin tức, sự kiện thường ngày 0
Thichquangboom Fshare ra mắt tính năng Thống kê Upload giúp người dùng quản lý tập tin hiệu quả Tin tức CNTT 0
T UTS College tăng cường hiệu quả dạy học trực tuyến Tin tức, sự kiện thường ngày 0
Admin Làm thế nào để cải tiến hiệu suất quảng cáo bởi SocialPeta? Tin tức CNTT 0

Similar threads

New posts New threads New resources

Back
Top