ျဖဴေလးနည္းပညာမွ ျပန္လည္မွ်ေ၀လိုက္ပါတယ္
ဒါေလးပါ သူကနွိတ္လိုက္ရင္ဆိုက္ေဘးကပြင့္တယ္ပိတ္လို့လဲရတယ္ေနရာမရွုပ္ဘူးေပါ့ေနာ္
က်ြန္ေတာ္ဆိုက္မွာေတာ့ေအာက္ဆံုးမွာထားတယ္
က်ြန္ေတာ္ကအဲေနရာမွာ Cbox ထားလို့ေလ
ဒီဟာေလးကိုထည့္ထားရင္ဘေလာ့ဂါအျခင္းျခင္း
ဆက္သြယ္နိင္ပါတယ္
ေတာ္ေတာ္ေလးေကာင္းတယ္ေနာ္
Cod ကိုယူျပီ Html/Java မွာထည့္ယံုပဲ
ေအာက္မွာယူေနာ္
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:400px;
width:50px;
float:left;
cursor:pointer;
background:url('http://1.bp.blogspot.com/-imE6hou5eCU/UBNdkH9TGlI/AAAAAAAAAhU/Pnaf4_5CDsg/s1600/vvv.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #666666;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-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 id="gb">
<div class="gbtab" onclick="showHideGB()">
</div>
<div class="gbcontent"><!-- Begin http://chatwing.com chatbox --><iframe src="http://chatwing.com/chatbox/6c8612ca0bc4e58de2ba562f082a07db" frameborder="0" height="400" scrolling="no" width="240">Please contact us at support[at]chatwing.com if you cannot embed the code</iframe><!-- End http://chatwing.com chatbox -->
<div style="text-align:right">
<a href="javascript:showHideGB()">
<img src="http://3.bp.blogspot.com/-kJjBYCz-4to/UBNeWJaYscI/AAAAAAAAAhc/lrXD5gu-LX0/s1600/aaaa.png"/>
</a>
</div>
</div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>
No comments:
Post a Comment