Saturday, May 17, 2014

របៀបដាក់​ Facebook Like Popup Box នៅក្នុងប្លក់

            សួស្តី ! ថ្ងៃនេះជាលើកដំ​បូ​ង​ដែ​ល​ខ្ញុំ​បា​ន​លើ​ក​ម​ក​ប​ង្ហា​ញ​អ្នក​ទាំ​ង​អស់​អោយ​យ​ល់​ពី​កា​រដា​ក់    Facebook Like Popup Box ធ្លាក់មកពីខាងលើនៃក្បាលប្លក់។​​ ការដា​ក់​បែ​ប​នេះ​គឺ​អា​ច​អោ​យអ្នក​ដែល​ចូល​ម​កប្លក់​យើ​ងអា​ច​ like និង​ អាច​ចូល​ទៅ​មើ​ល​ Page Like រ​ប​ស់​យើ​ងផងដែរ​។ ការបង្ហាញ​លើ​ក​ដំ​បូង​នេះគឺជា​កា​រស្វែ​ង​រ​ក​ឃើញ​នៅ​លើ Websit បរទេស​រប​ស់​ខ្ញុុំ​។​ សូមមើ​ល​មក​ក្រោម :

១. សូមអ្នកlog in ប្លក់របស់អ្នក
២. ចូលទៅក្នុង Template រួចយកពាក្យថា Edit HTML
៣.​អ្នកអាចស្វែងរកកូដដោយវាយយកCTRl +Fហើយវាយ</body>
៤.  អ្នកអាចcopy កូដដូចខាងក្រោម
កូដដែលត្រូវដាក់ក្នុង Edit Template

 <style type='text/css'>
#haakblogFBpop {
position:fixed !important;
position:absolute;
top:-1000px;
left:50%;
margin:0px 0px 0px -182px;
width:300px;
height:auto;
padding:16px;
background:#FEFEFE;font:normal Dosis, Georgia, Serif;
color:#111;
border:2px solid #333;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:10px;
-moz-border-radius:10px;
border-radius:10px;
}
#Pet-PanhavisalFBpop a.haakblogclose {
position:absolute;
top:-10px;
right:-10px;
background:#fff;
font:bold 16px Arial, Sans-Serif;
text-decoration:none;
line-height:22px;
width:22px;
text-align:center;
color:#000000;
border:2px solid #333;
-webkit-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-moz-box-shadow:0px 1px 2px rgba(0,0,0,0.4);
box-shadow:0px 1px 2px rgba(0,0,0,0.4);
-webkit-border-radius:22px;
-moz-border-radius:22px;
border-radius:25px;
cursor:pointer;
}
</style>
 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
$(window).bind(&quot;load&quot;, function() {
// Animate Top
$(&#39;#haakblogFBpop&#39;).animate({top:&quot;150px&quot;}, 1000);
// Widget by www.haakblog.com
$(&#39;a.haakblogclose&#39;).click(function() {
$(this).parent().fadeOut();
return false;
});

});
</script>
<div id='haakblogFBpop'>
<!-- Widget by www.haakblog.com Start -->
<center>
<b>Don&#39;t Forget To Join Cambodia Our Country</b></center>
<center>
<iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/pages/Pet-Panhavisal/377965298993025?ref=hl&amp;width=300&amp;height=258&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;show_border=false&amp;header=false&amp;appId=196282097100252' style='border:none; overflow:hidden; width:300px; height:258px;'/>
</center>
<!-- Widget by www.haakblog.com End -->
<a class='haakblogclose' href='#'>&#215;</a>
<center style='float:right; margin-right:10px;'>
<span style='font-size:xx-small; color:#000; text-decoration:none;'/>
<a href='http://www.haakblog.com' rel='dofollow' target='_blank' title='blogger tips'><img alt='blogger tips' border='0' src='https://bitly.com/haakblog' style='position: fixed; bottom: 10%; right: 0%;'/></a><a href='http://www.haakblog.com/2014/02/download-best-blogger-templates-of-2014.html' rel='dofollow' target='_blank' title='blogger templates'><img alt='blogger templates' border='0' src='https://bitly.com/haakblog' style='position: fixed; bottom: 10%; right: 0%;'/></a><a href='http://www.haakblog.com/2013/10/add-facebook-like-popup-box-for-blogger.html' style='font-size:xx-small; color:#3B78CD; text-decoration:none;' target='_blank'>Widget</a></center>
</div>


ប្តូរឈ្មោះ Pet-Panhavisal ដាក់ឈ្មោះPage like របស់អ្នក

5. រួចហើយSave