<!doctype html>
<meta charset= "UTF-8" >
<title>Document</title>
<body>
<div>
<p id= "P1" > click on the button below to share this text with the image of Sina Weibo oh. @ Flying Fish </p>
<input type= "button" class= "btn" id= "btn" value= ' share ' >
</div>
</body>
<script src= ' jquery-1.9.1.js ' ></script>
<script>
$ (' #btn '). Click (function () {
Window.sharetitle = $ (this). Siblings (' #p1 '). html ();
Window.shareurl = $ (this). Siblings (' img '). attr (' src ');
Share ();
});
function Share () {
D means window.
(function (s,d,e) {Try{}catch (e) {}var f= ' http://v.t.sina.com.cn/share/share.php ', u=d.location.href,p=[' url= ', E (U ), ' &title= ', E (window.sharetitle), ' &appkey=2924220432 ', ' &pic= ', E (window.shareurl)].join ('); function A () {if (!window.open) ([F,p].join ('), ' MB ', [' toolbar=0,status=0,resizable=1,width=620,height=450,left= '), ( s.width-620)/2, ', top= ', (s.height-450)/2].join (')) U.href=[f,p].join ('); if (/firefox/.test (navigator.useragent)) {settimeout (a,0)}else{a ()}}) (Screen,document,encodeuricomponent);
}
function Test () {
var abc = [1,3,5].join (');
Alert (ABC);
}
Test ();
</script>
2
<a class= "fb_t" href= javascript:void ("window.open" http://www.facebook.com/share.php?u= ( encodeURIComponent (LOCATION.HREF))) "Title= share to Facebook" rel= "nofollow" >Facebook</a></div>
3
<a href= ' https://www.linkedin.com/shareArticle?mini=true&title=baidushare&url=http://www.baidu.com &summary=undefined&source=programmablewe3b ' >linked in 2</a>
4 Facebook
4 Wtitter
<a href= "Http://twitter.com/intent/tweet?url=http://www.baidu.com&text=hello World" >twitter2</a>
5
<a target= "_blank" title= "Share on Twitter" class= "Social-share-links__link social-share-links__link--twitter" Href= "https://twitter.com/intent/tweet?text=Make%20a%20Neon%20Vector%20Shooter%20in%20jMonkeyEngine%3A%20The% 20basics&url=http%3a%2f%2fgamedevelopment.tutsplus.com%2ftutorials% 2fmake-a-neon-vector-shooter-in-jmonkeyengine-the-basics--gamedev-11616&via=tutsplus "sl-processed=" 1 " ><i class= "fa fa-twitter Social-share-links__icon" ></i><div class= "Social-share-links__count" >4</div></a>