锘?/鍒嗕韩 document.oncontextmenu = new Function("event.returnValue=false"); $(function () { $(".shareLink .pic_003").click(function () {//寰崥 var url = $(this).data("txt"); var url = window.location.href; var title = $(this).attr('data-tit'); var op = "http://service.weibo.com/share/share.php?title=" + title + "&url=" + encodeURIComponent(url) + ""; window.open(op) }) $(".shareLink .pic_004").click(function () {//QQ var url = $(this).data("txt"); var url = window.location.href; var title = document.title; var op = "http://connect.qq.com/widget/shareqq/index.html?url=" + encodeURIComponent(url) + ""; window.open(op); }) $(".share_wx").attr("data-qrcode","http://www.xinhongru.com/qrcode/qrcode.php?content="+window.location.href); //$(".share_wx").attr("data-qrcode", "/qrCode/Index.aspx?url=" + window.location.href); $(".shareLink .pic_001,.shareLink .share_wx,.shareLink .pic_002").click(function () {//寰俊 var url = $(this).attr("data-qrcode") //alert(url) var title = "" title += "
" title += "x" title += "

浜岀淮鐮?/h2>" title += "
" title += "

鎵竴鎵?/p>" title += "

" $("body").remove(".weixin"); $("body").append(title) //var op="http://service.weibo.com/share/share.php?url='"+ url +"'&title='"+ title +"'&searchPic=false" //window.open(op) }) $(document).on("click", ".weixin .c", function () { //alert(0) $(".weixin").remove(); }) })