fb專頁點整讚好?

2011-08-07 10:06 am
fb專頁點整讚好?
我開左個專頁..佐係唔知點先可以比人讚好到...

回答 (1)

2011-08-07 4:53 pm
✔ 最佳答案
向你個PAGE加上以下CODE裡面既 JAVASCRIPT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Facebook Like Button : <default></title>
</head>

<body>
<script type="text/javascript">
var urlToLike = '';
if (urlToLike == '') {
urlToLike = window.location.href;
}
urlToLike = encodeURIComponent(urlToLike);

var font = encodeURIComponent('inherit');


document.write ('<iframe src="http://www.facebook.com/widgets/like.php?locale=en_US&href='+urlToLike+'&layout=standard&show_faces=true&width=450&height=150&action=like&font='+font+'&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; border-color:#ffffff; overflow:hidden; width:450; height:150"></iframe>')
</script>

</body>
</html>


收錄日期: 2021-04-26 12:09:12
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20110807000051KK00135

檢視 Wayback Machine 備份