0.5秒后,Google +互动信息弹出窗口消失 [英] Google+ interactive post popup disappears after 0,5 sec

查看:127
本文介绍了0.5秒后,Google +互动信息弹出窗口消失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建此页面 http://kokas.x10.mx/?page_id=2 我的目标是通过社交媒体发送邀请. Google+弹出窗口是我的问题.单击google plus图像,登录google,然后弹出窗口就会非常快速地神奇消失……您只需瞥一眼半秒钟即可.是什么原因导致这种现象?我的按钮的html是

I'm creating this page http://kokas.x10.mx/?page_id=2 where I aim to send invitations through social media. The Google+ popup is my problem. Click on the google plus image, sign into google and the popup will magically disappear very very fast...you just get a glimpse of it for half a second. What causes this behavior? my html for the button is

<button
  id="googleInvite"
  class="g-interactivepost"
  data-contenturl="http://fray.it"
  data-clientid="xxxxxxx.apps.googleusercontent.com"
  data-cookiepolicy="single_host_origin"
  data-prefilltext="Join me on Fray and get help from amazing local people!"
  data-calltoactionlabel="INVITE"
  data-calltoactionurl="http://kokas.x10.mx/?page_id=2">
    <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/google.png" alt="Google+" /><span>Google+</span>
</button>   

是否可以通过浏览器的开发工具检查正在运行的javascript?我一直在这里按照说明进行操作 https://developers.google.com/+/web/share /interactive

Is it possible to check the javascripts that run while this is happening with the browser's dev tools? I have been following instructions here https://developers.google.com/+/web/share/interactive

推荐答案

您不能使用与内容网址具有不同域的号召性用语网址.您需要能够在同一域中为他们提供服务.

You can't use a call to action url that has a different domain from the content url. You need to be able to serve them both from the same domain.

这篇关于0.5秒后,Google +互动信息弹出窗口消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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