Quên mật khẩu?

Ẩn quảng cáo

 

 [Teamp & Script] Code thông điệp yêu thương với Slimbox

Go down 
Tác giảThông điệp
admin
[—»Sói™~]-[Ðại Ma Ðầu]
[—»Sói™~]-[Ðại Ma Ðầu]
admin


Giới tính Giới tính : Nam Virgo
Chinese zodiac Chinese zodiac : Horse
Bài viết Bài viết : 1042
Xu Xu : 158
Thanked Thanked : 650
Sinh Nhật Sinh Nhật : 20/09/1990
Tham Gia Tham Gia : 15/07/2011
Tuổi Tuổi : 34
Yahoo Yahoo : Hà Nội
Nghề Nghiệp Nghề Nghiệp : Giáo Sư
Status Status : hgfggggggggggggg

Character sheet
Tài Sản:

[Teamp & Script] Code thông điệp yêu thương với Slimbox  Empty
Bài gửiTiêu đề: [Teamp & Script] Code thông điệp yêu thương với Slimbox    [Teamp & Script] Code thông điệp yêu thương với Slimbox  EmptyFri Oct 28, 2011 12:19 pm

Điểm qua một số tính năng khác biệt so với thông điệp gửi khác
- Cập nhật lời nhắn nhanh không giống như thông điệp gửi bằng RSS
- Tự động ẩn thông điệp trên Lastopic
- Tên người gửi được tùy chọn
- Hiện Slimbox lên khi gửi, không chuyển sang trang khác mà viết ngay tại trang bạn click nút gửi
- Hệ thống tích hợp ToolTip nhẹ và đẹp

Demo:
[Teamp & Script] Code thông điệp yêu thương với Slimbox  28020517
Chèn vào mod_new:
Code:
    <script type="text/javascript"
    src="http://that1design.com/clientscript/jquery.lightbox-min.js"></script><table
    style="background: #fff;color: #555555;border: 2px solid
    #bbb;-moz-border-radius:5px;" cellpadding="6" cellspacing="2" border="0"
    width="100%"><tr><td nowrap="nowrap" style="background:
    #fff;color: #313131;border: 1px solid
    #ccc;-moz-border-radius:5px"><a onmouseover="showtip('<font
    size=5>CLICK - GỬI THÔNG ĐIỆP !!</font><br>Lưu ý: mỗi
    thành viên chỉ được gởi tối đa
    <font color=#00FF00>3 thông điệp</font>/ngày.<br>ai vi phạm bị
    ban nick.!');" onmouseout="hidetip();" class='c3luvmes' href="#">
      <img src="http://i60.servimg.com/u/f60/15/70/23/13/tdytln13.png" width="215" height="35" /></a></td>
   
      <td width="100%" style="background: #fff
    url('http://i63.servimg.com/u/f63/14/43/86/54/master10.gif');color:
    #313131;border: 1px solid #ccc;-moz-border-radius:5px">
   
    <marquee behavior="scroll" onmouseover="this.stop()"
    onmouseout="this.start()" scrollamount="1" scrolldelay="20"
    direction="left" truespeed="truespeed"><!-- BEGIN post_row
    --><span style="margin-right:60px" class="modnew"><span
    onmouseover="showtip(this.getElementsByTagName('div')[0].innerHTML);"
    onmouseout="hidetip();" style="color:#2F2F2F;
    font-size:11px"><b><span class="gensmall" style="font-size:
    9pt"><b>{post_row.POSTER}</b></span> </b>
    <span style="font-size: 9pt">nhắn với</span> <span
    style="color:#FF009A;font-weight:bold;font-size:
    9pt">{post_row.TITLE}</span><div style="display: none;">
    gửi vào lúc {post_row.TIME} ...</div></span>: <span
    class="lovemes" style="font-size:
    9pt">{post_row.TEXT}</span><span style="padding: 0px
    40px"></span></span><!-- END post_row
    --></marquee></td></tr></table>
      <div
    style='display:none'><div id='c3_luvmes' style='padding:10px;
    background:#fff; overflow:hidden'> <form action="/posting.forum"
    method="post" name="post" onsubmit="return
    vB_Editor['text_editor'].prepare_submit(0,0)"
    enctype="multipart/form-data"><table width="100%" border="0"
    cellspacing="1" cellpadding="0"><tr><td
    width="220"><span class="gen"><b>
      Gửi đến :</b></span></td><td width="78%">
    <table border="0" width="100%" height="20" id="table1" cellspacing="0" cellpadding="0">
      <tr>
   
        <td width="340"><span class="gen"><input class="post
    gen" style="width:200px; display:inline" type="text" name="subject"
    value="Tất cả" onblur="if(this.value=='') this.value='Tất cả';"
    onfocus="if(this.value=='Tất cả') this.value='';"  size="45"
    maxlength="40" tabindex="2" title="" onkeypress="if
    (event.keyCode==13){return false}"></span><input
    onclick="set_solved(this.form.elements['subject'],'♥ ')"
    class="mainoption" style="float:right" type="submit" name="post"
    value="Gửi" tabindex="6" accesskey="s" /></td>
          <td></td>
      </tr>
    </table>
    </td></tr><tr><td
    class="row1" valign="top"><table width="100%" border="0"
    cellspacing="0" cellpadding="1"><tr>
      <td bgcolor="#FFFFFF"><span align="left" ><b>
          Nội dung thông điệp</b></span></td></tr><tr><td align="center" valign="middle">
   
          </td></tr></table></td><td
    valign="top"><textarea class="gen" id="c3z_lovemess" class="post"
    style="width:340px;height:180px" onclick="storeCaret(this)"
    onkeyup="storeCaret(this)" name="message" rows="15" cols="35"
    tabindex="3" onselect="storeCaret(this)"
    wrap="virtual">...</textarea></td></tr></table><input
    type="hidden" name="lt" value="0" /><input type="hidden"
    name="mode" value="newtopic" /><input type="hidden" name="f"
    value="56" /></form></div></div>
Tìm trong đó:
Code:
    <input type="hidden" name="f" value="56" />
Thay số 56 bằng số box chứa thông điệp của bạn
box chứa thông điệp yêu thương ra ví dụ ở diễn đàn này là "http://www.starvn.tk/forum-f3/"
vậy ở diễn đàn này thay 56 thành số 3, của bạn cũng làm tương tự
Chèn tiếp vào CSS:

Code:
   
    #cboxOverlay,#cboxWrapper,#colorbox{left:0;overflow:hidden;position:absolute;top:0;z-index:999}#cboxOverlay{background:url(http://i63.servimg.com/u/f63/14/43/86/54/overla10.png)
    0 0
    repeat;height:100%;position:fixed;width:100%}#cboxBottomLeft,#cboxMiddleLeft{clear:left}#cboxContent{background:#fff;overflow:hidden;position:relative}#cboxLoadedContent{margin-bottom:28px;overflow:auto}#cboxLoadedContent
   
    iframe{border:0;display:block;height:100%;width:100%}#cboxTitle{bottom:4px;color:#949494;left:0;margin:0;position:absolute;text-align:center;width:100%}#cboxLoadingGraphic,#cboxLoadingOverlay{left:0;position:absolute;top:0;width:100%}#cboxClose,#cboxNext,#cboxPrevious,#cboxSlideshow{cursor:pointer}#cboxTopLeft{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -100px 0
    no-repeat;height:21px;width:21px}#cboxTopRight{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -129px 0
    no-repeat;height:21px;width:21px}#cboxBottomLeft{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -100px -29px
    no-repeat;height:21px;width:21px}#cboxBottomRight{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -129px -29px
    no-repeat;height:21px;width:21px}#cboxMiddleLeft{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    left top
    repeat-y;width:21px}#cboxMiddleRight{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    right top
    repeat-y;width:21px}#cboxTopCenter{background:url(http://i63.servimg.com/u/f63/14/43/86/54/border10.png)
    0 0
    repeat-x;height:21px}#cboxBottomCenter{background:url(http://i63.servimg.com/u/f63/14/43/86/54/border10.png)
    0 -29px
    repeat-x;height:21px}#cboxCurrent{bottom:4px;color:#949494;left:58px;position:absolute}#cboxSlideshow{bottom:4px;color:#0092ef;position:absolute;right:30px}#cboxPrevious{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -75px 0
    no-repeat;bottom:0;height:25px;left:0;position:absolute;text-indent:-9999px;width:25px}#cboxPrevious.hover{background-position:-75px
   
    -25px}#cboxNext{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -50px 0
    no-repeat;bottom:0;height:25px;left:27px;position:absolute;text-indent:-9999px;width:25px}#cboxNext.hover{background-position:-50px
   
    -25px}#cboxLoadingOverlay{background:url(http://i63.servimg.com/u/f63/14/43/86/54/loadin10.png)
    center center
    no-repeat}#cboxLoadingGraphic{background:url(http://i63.servimg.com/u/f63/14/43/86/54/loadin10.gif)
    center center
    no-repeat}#cboxClose{background:url(http://i63.servimg.com/u/f63/14/43/86/54/contro10.png)
    -25px 0
    no-repeat;bottom:0;height:25px;position:absolute;right:0;text-indent:-9999px;width:25px}#cboxClose.hover{background-position:-25px
    -25px}.cboxIE
    #cboxTopLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border11.png,sizingMethod='scale')}.cboxIE
   
    #cboxTopCenter{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border12.png,sizingMethod='scale')}.cboxIE
   
    #cboxTopRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border13.png,sizingMethod='scale')}.cboxIE
   
    #cboxBottomLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border14.png,sizingMethod='scale')}.cboxIE
   
    #cboxBottomCenter{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border15.png,sizingMethod='scale')}.cboxIE
   
    #cboxBottomRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border16.png,sizingMethod='scale')}.cboxIE
   
    #cboxMiddleLeft{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border17.png,sizingMethod='scale')}.cboxIE
   
    #cboxMiddleRight{background:transparent;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=http://i63.servimg.com/u/f63/14/43/86/54/border18.png,sizingMethod='scale')}.c3zbukmark
    a{padding:2px}
    #dhtmlpointer, #dhtmltooltip
    {
    z-index: 999;
    left: -300px; top:0px;
    visibility: hidden;
    position: absolute;
    -moz-opacity: 0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
    }
    #dhtmltooltip
    {
    border: #000000 0px solid;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    padding: 15px;
    font-size: 9pt; font-weight:bold;
    font-family: Arial; color:#fff;
    background-color: #000;
    width: auto;
    max-width: 340px;
    width:expression(document.body.clientWidth > 340? "340px": "auto");
    text-align:left;
    }
   
Trong mod_rencent_topic tìm:
Code:
class="Pages"><div class="Page" đến </div>
( cái đầu tiên nhá )
Thay bằng

Code:
    <div class="Page" style="padding-top: 8px;"><!-- BEGIN classical_row -->
    <table
    class="" style="border-bottom-width: 0px;" align="center" border="0"
    cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
    <td>
   
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
    </table></td></tr></tbody>
    <tbody>
    <tr><td
    style="padding: 0px; background: rgb(255, 255, 255) none repeat scroll
    0% 0%; -moz-background-clip: border; -moz-background-origin: padding;
    -moz-background-inline-policy: continuous;" width="100%"><table
    border="0" cellpadding="0" cellspacing="0" width="100%"><tr
    valign="top"><td style="border-top: 0px none; padding: 0px;
    background: transparent
    url(http://s1043.photobucket.com/albums/b431/paladin_1812/forum/list.gif)
    no-repeat scroll center top; -moz-background-clip: border;
    -moz-background-origin: padding; -moz-background-inline-policy:
    continuous;" width="24"><img src="http://2img.net/i/fa/empty.gif"
    width="24" border="0"></td>
      <td style="border-top:
    0px none; padding: 0px; line-height: 20px; background-repeat: repeat;"
    align="left"
    background="http://i1036.photobucket.com/albums/a449/a1tinhgia3/image/listbg.gif"><!--
    BEGIN recent_topic_row --><!-- BEGIN switch_poster --><div
    class="ln41btd"><table border="0" cellpadding="0" cellspacing="0"
    width="100%"><tr valign="top"><td style="height: 20px"
    width="74%"><a onmouseover="showtip('<b>Tiêu đề: <font
    color=#FF66FF>{classical_row.recent_topic_row.L_TITLE}</font></b><br>
    <b>Thời gian:
    <font
    color=#00FF99>{classical_row.recent_topic_row.S_POSTTIME}</font></b>');"
    onmouseout="hidetip();"
    href="{classical_row.recent_topic_row.U_TITLE}"><b><font
    style="font-family: Tahoma; font-size:
    11px">{classical_row.recent_topic_row.L_TITLE}</font></b></a></td><td
    style="height: 20px" width="26%" align="right"><a
    href="{classical_row.recent_topic_row.switch_poster.U_POSTER}"><font
    style="font-family: Tahoma; font-size:
    11px">{classical_row.recent_topic_row.switch_poster.S_POSTER}</a></td></tr></table></div><!--
    END switch_poster --><!-- END recent_topic_row --></td>
      </tr></table></td></tr></tbody></table>
    <!-- END classical_row -->
    <script type="text/javascript">$(function(){$("div.ln41btd:contains('♥')").empty();})</script>
    </div>


Bật Widgets mod_new hiệu chỉnh
[Teamp & Script] Code thông điệp yêu thương với Slimbox  Untitl11
Chèn đoạn script này vào footer
Code:
    <script type='text/javascript' src='http://vnforumotion.forum.st/h5-tooltip'></script>
Về Đầu Trang Go down
https://itvui.123.st
 
[Teamp & Script] Code thông điệp yêu thương với Slimbox
Về Đầu Trang 
Trang 1 trong tổng số 1 trang
 Similar topics
-
» [JQuery - Script] Chèn mặt cười vào thông điệp với Slimbox
» Code đóng khung thông tin profile thành viên
» Code bảng thông báo
» Code bảng thông báo
»  [Share] Một số code thông dụng mà các 4rum đều cần.

Permissions in this forum:Bạn không có quyền trả lời bài viết
Kênh thông tin giải trí dành cho teen việt :: *`+`* Mã Nguồn *`+`* :: Thủ Thuật Forumotion :: Code-
Chuyển đến