2014-03-06 75 views
1

我試圖在流星模板中插入reCaptcha。ReCaptcha CSS不適用於流星

ReCaptcha的工作原理,但它沒有任何CSS樣式,配置鍵不適用。

我表單之前添加的配置腳本:

<script type="text/javascript"> 
var RecaptchaOptions = { 
    theme : 'white', 
    lang : 'en' 
}; 
</script> 

,我添加了表單內:

<script type="text/javascript" src="http://www.google.com/recaptcha/api/challenge?k=6LcBoO8SAAAAAKNgu2AWLuAiqzgM0CSAywJJzCwU"> 
</script> 
<noscript> 
     <iframe src="http://www.google.com/recaptcha/api/noscript?k=6LcBoO8SAAAAAKNgu2AWLuAiqzgM0CSAywJJzCwU" 
       height="300" width="500" frameborder="0"></iframe><br> 
     <textarea name="recaptcha_challenge_field" rows="3" cols="40"> 
     </textarea> 
     <input type="hidden" name="recaptcha_response_field" 
       value="manual_challenge"> 
</noscript> 
+1

看來,其他人都遇到過這個問題:http://stackoverflow.com/questions/17150201/using-disqus-recaptcha-in-a-流星應用程序(最新評論) –

+1

請確保您的javascript'