ေအာက္မွာထည့္နည္းနဲ႔တကြCode
၁။click Layout
၂။click edit HTML
ေအာက္ကCodeကိုရွာပါ၊Press Ctrl + Fနဲ႔ရွာရင္ပိုၿပီးျမန္တာေပါ႔နာ္
</head>
ေတြ႕ၿပီဆိုရင္ေအာက္မွာ ေအာက္ကCodeကိုထည့္လိုက္ပါ၊
<style type='text/css'>
img { behavior: url(iepngfix.htc) }
#pageflip {
position: relative;
right: 0; top: 0;
float: right;
}
#pageflip img {
width: 50px; height: 52px;
z-index: 99;
position: absolute;
right: 0; top: 0;
-ms-interpolation-mode: bicubic;
}
#pageflip .msg_block {
width: 50px; height: 50px;
overflow: hidden;
position: absolute;
right: 0; top: 0;
background: url(http://www.wallheaven.com/subscribe.png) no-repeat right top;
}
</style>
<script src='http://code.jquery.com/jquery-latest.js' type='text/javascript'/>
<script type='text/javascript'>
$(document).ready(function(){
//Page Flip on hover
$("#pageflip").hover(function() {
$("#pageflip img , .msg_block").stop()
.animate({
width: '307px',
height: '319px'
}, 500);
} , function() {
$("#pageflip img").stop()
.animate({
width: '50px',
height: '52px'
}, 220);
$(".msg_block").stop()
.animate({
width: '50px',
height: '50px'
}, 200);
});
});
</script>
ေအာက္ကCodeကုိထပ္ရွာပါ၊
<body>
ေတြ႕ၿပီဆိုင္ရင္ေအာက္မွာ ေအာက္ကCodeေလးကိုထပ္ထည႔္ေပးလိုက္ပါေနာ္။
<div id='pageflip'>
<a href='ဤေနရာတြင္မိမိႏွစ္သက္သည့္Linkကိုထည့္လိုက္ပါ'>
<img alt='' src='http://www.wallheaven.com/page_flip.png'/></a>
<div class='msg_block'></div>
</div>
(http://www.wallheaven.com/subscribe.png)ဒါကေတာ့background လင့္ပါဘဲ၊၊ မိမိႏွစ္သက္တာေရြးထည့္လို႔ရပါတယ္။
၃။Save Template button.ႏိုပ္ပါ ၿပီးပါၿပီ။။။
မသိေသးတဲ႔မိတ္ေဆြေတြကိုအသိေပးမ်ွေဝေစျခင္ပါတယ္၊ kp3မွမိတ္ေဆြအားလုံးေက်းဇူးကမ႓ာ
0 comments:
Post a Comment