Teen_Thanh_Hoa
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.
Teen_Thanh_Hoa


You are not connected. Please login or register

[Codes] Music bên phải thụt ra thụ vô

Go down  Thông điệp [Trang 1 trong tổng số 1 trang]

Admin

Admin
Admin - BQT Tối Cao
Admin - BQT Tối Cao

hướng dẫn:
- ACP> Display> Templates> QLTT> Overall_header
- copy và chèn codes sau

Code:
 <style type="text/css">
    #gb{position:fixed;top:50px;z-index:+1000;}* html #gb{position:relative;}.gbtab{height:48px;width:48px;float:left;cursor:pointer;background:url('http://icons.iconarchive.com/icons/wwalczyszyn/iwindows/48/Music-Library-icon.png') no-repeat;}.gbcontent{float:left;border:2px solid #990000;background:#F5F5F5;padding:10px;}
    </style>
    <script type="text/javascript">
    function showHideGB(){
    var gb = document.getElementById("gb");
    var w = gb.offsetWidth;
    gb.opened ? moveGB(0, 45-w) : moveGB(20-w, 0);
    gb.opened = !gb.opened;
    }
    function moveGB(x0, xf){
    var gb = document.getElementById("gb");
    var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
    var dir = xf>x0 ? 1 : -1;
    var x = x0 + dx * dir;
    gb.style.right = x.toString() + "px";
    if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
    }
    </script>
    <div style="right: -425px;" id="gb">
    <div class="gbtab" onclick="showHideGB()">
    </div>
    <div class="gbcontent">

    <object width="400" height="300"><param name="movie" value="http://static.mp3.zing.vn/skins/mp3_main/flash/embed/zing_mp3_embed_v1.1.swf?skin=http://static.mp3.zing.vn/skins/mp3_main/flash/embed/embed.swf&xmlURL=http://mp3.zing.vn/xml/album-xml/knJHtBXDbQbCtLbcyvHLH&autostart=false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed width="400" height="300" src="http://static.mp3.zing.vn/skins/mp3_main/flash/embed/zing_mp3_embed_v1.1.swf?skin=http://static.mp3.zing.vn/skins/mp3_main/flash/embed/embed.swf&xmlURL=http://mp3.zing.vn/xml/album-xml/knJHtBXDbQbCtLbcyvHLH&autostart=false" quality="high" wmode="transparent" type="application/x-shockwave-flash"></embed></object><br />
    </div>
    </div>

trong đó:
- phần codes làm khung nhạc chạy dọc:
Code:
 <style type="text/css">
...
<div class="gbtab" onclick="showHideGB()">
</div>


- đoạn codes nhạc:
Code:
  <object width="400" height="300"><param name="movie" value="http://static.mp3.zing.vn/skins/mp3_main/flash/embed/zing_mp3_embed_v1.1.swf?skin=http://static.mp3.zing.vn/skins/mp3_main/flash/embed/embed.swf&xmlURL=http://mp3.zing.vn/xml/album-xml/knJHtBXDbQbCtLbcyvHLH&autostart=false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed width="400" height="300" src="http://static.mp3.zing.vn/skins/mp3_main/flash/embed/zing_mp3_embed_v1.1.swf?skin=http://static.mp3.zing.vn/skins/mp3_main/flash/embed/embed.swf&xmlURL=http://mp3.zing.vn/xml/album-xml/knJHtBXDbQbCtLbcyvHLH&autostart=false" quality="high" wmode="transparent" type="application/x-shockwave-flash"></embed></object><br />

https://teennet.forumvi.com

Về Đầu Trang  Thông điệp [Trang 1 trong tổng số 1 trang]

Permissions in this forum:
Bạn không có quyền trả lời bài viết