Dân trí Vừa qua, khi trào lưu chơi Pokémon Go càng ngày càng lan rộng, càng xảy ra phổ thông vụ tai nạn liên lạc do người chơi mải nhìn màn hình điện thoại, thiếu tập trung quan sát con đường.
Duyệt y cách thức trắc nghiệm, hãy cùng Dân trí điểm lại những thông tin đáng để ý trong tuần qua liên quan đến lĩnh vực ô tô, xe máy, đặc biệt là yếu tố an toàn liên lạc.
Nhật Minh
');
}
me.fbLoad('//connect.facebook.net/vi_VN/sdk.js', function ()
FB.init(
appId: me.appId,
status: me.status,
xfbml: me.xfbml,
phiên bản: me.version
);
FB.Event.subscribe('xfbml.render', me.renderButton);
FB.Event.subscribe('edge.create', me.likeCB);
);
});
},
fbParse: function (ele)
try
FB.XFBML.parse(ele);
catch (e)
,
fbLoad: function (url, callback)
callback = (typeof callback != 'undefined') ? callback : ;
$.ajax(
type: "GET",
url: url,
success: callback,
dataType: "script",
cache: true
);
,
getLikeShareCount: function (url, eleShare, eleLike, eleTotal)
$.ajax(
type: "GET",
dataType: "json",
url: 'http://api.facebook.com/restserver.php?method=links.getStats&format=JSON&urls=' + url,
success: function (msg)
if ($(eleShare) != null)
var iCount = msg[0].share_count;
if (iCount == 0)
$(eleShare).html('');
else
$(eleShare).html(iCount);
if ($(eleLike) != null)
$(eleLike).html(msg[0].like_count);
if ($(eleTotal) != null)
$(eleTotal).html(msg[0].total_count);
);
,
shareClick: function (hr)
var wleft = screen.width / 2 - 700 / 2;
var wtop = screen.height / 2 - 450 / 2;
var link = hr != null ? hr : document.location.href;
var w = window.open("http://www.facebook.com/sharer.php?u=" + link, "chia sẻ",
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=700, height=485, top=' + wtop + ', left=' + wleft
);
w.focus();
return false;
,
fanpage: function ()
setTimeout(function ()
if (!$('.social-share .fb-like iframe').is(':visible'))
$('.social-share').remove();
, 10000);
,
renderButton: function ()
$('.fb-send').removeClass('hidden').show().parent('.fbSendWrap').children(':not(".fb-send")').remove();
$('.fb-like').removeClass('hidden').show().parent('.fbLikeWrap').children(':not(".fb-like")').remove();
$('.imglikefake').addClass('hidden');
//console.log('vao');
,
likeOnload: function (obj, width, height)
$(obj).css( 'display': 'block', 'width': width, 'height': height );
};
fbClient.init();
fbClient.getLikeShareCount('http://dantri.com.Việt Nam/news-2016082909043433.htm', '.chiasefb i');
]]>
Đọc thêm: xe hơi
This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
0 nhận xét:
Đăng nhận xét