묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소셜댓글 disqus를 달면 에러가 나는데요
2010.09.16 02:29
thoth 블로그에 트위터로 댓글을 달 수 있는 disqus ( http://disqus.com )를 달려고 하는데요
에러가 나서 작동이 되지 않네요.
코드는 아래와 같습니다.
댓글 코드를 지우고 삽입했습니다.
js 파일 때문에 그런건가요?
<div id="disqus_thread"></div>
<script type="text/javascript">
/**
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
*/
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://midsi.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="comments'>http://disqus.com/?ref_noscript=midsi">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
혹은 <script type="text/javascript">
var disqus_shortname = 'midsi';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://disqus.com/forums/midsi/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<script type="text/javascript">
/**
* var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
*/
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://midsi.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="comments'>http://disqus.com/?ref_noscript=midsi">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
혹은 <script type="text/javascript">
var disqus_shortname = 'midsi';
(function () {
var s = document.createElement('script'); s.async = true;
s.src = 'http://disqus.com/forums/midsi/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>