K
K
krvdns2015-05-22 11:27:37
Classmates
krvdns, 2015-05-22 11:27:37

How to like only one button I like if there are several such buttons on the site page?

How to like only one button I like if there are several such buttons on the site page?
That is, on the site, let's say I like 10 buttons, one person likes one button, and the rest can't.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Kshnyakin, 2015-05-22
@devpull

Website for studio :-)

K
krvdns, 2015-05-22
@krvdns

This is the company's internal website, I can't show it. There is really nothing to show.
If it helps, here is the
html
js code
!function (d, id, did, st) {
var js = d.createElement("script");
js.src = " connect.ok.ru/connect.js ";
js.onload = js.onreadystatechange = function () {
if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") {
if (!this.executed) {
this. executed = true;
setTimeout(function () {onOkConnectReady()}, 0);
}
}}
d.documentElement.appendChild(js);
}(document);
function onOkConnectReady() {
OK.CONNECT.insertShareWidget("ok_shareWidget_1","link#1","{width:170,height:30,st:'rounded',sz:20,ck:3}");
OK.CONNECT.insertShareWidget("ok_shareWidget_2","link#2","{width:170,height:30,st:'rounded',sz:20,ck:3}");
OK.CONNECT.insertShareWidget("ok_shareWidget_3","link#3","{width:170,height:30,st:'rounded',sz:20,ck:3}");
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question