如何结合“喜欢”按钮到我的PHP页面 [英] How to incorporate a "like" button to my PHP page

查看:83
本文介绍了如何结合“喜欢”按钮到我的PHP页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

:)我正在设计一个php页面,我需要在页面中加入喜欢按钮。我尝试使用



document.getElementById(text)。innerHTML =不像;



和我的链接:

< a href =#id =textonclick =myFunction()>赞< / a>



这只会将文本更改为不同。

如果您有任何建议或喜欢,我们将非常感激



:)

:) I am designing a php page and i need to incorporate the "like" button to the page. I tried using

document.getElementById("text").innerHTML="unlike";

and my link:
<a href="#" id="text" onclick="myFunction()">Like</a>

this only changes the text to "unlike".
Please any suggestions or like would be really appreciated

:)

推荐答案

create-like-button-just-like-facebook.html [ ^ ]



希望它会有所帮助..
create-like-button-just-like-facebook.html[^]

Hope it will help..


你想要'喜欢'按钮做什么?作为替代方案,您可以随时添加'在Google'按钮中推荐此按钮。当然,您需要为此创建一个护目镜帐户。
What do you want your 'like' button to do? As an alternative you could always add a 'recommend this in google' button. Of course you need to create a goggle account for this.


这篇关于如何结合“喜欢”按钮到我的PHP页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆