我正在尝试在网站上实施 Fancybox 电子邮件表单,但无法在实时网站上运行。
当我在 JSFiddle 上使用代码时它工作正常:http: //jsfiddle.net/svsdx/
但是,我认为可能与 . 我尝试删除一些元素,但找不到导致它的原因。毫无疑问,我是个十足的白痴,但有人能在这里发现一个可能的问题吗?
<head>
<!--Favicon-->
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- CSS -->
<link rel="stylesheet" href="style.css">
<!-- /CSS -->
<!-- Fonts -->
<script type="text/javascript" src="//use.typekit.net/hte5kvm.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<!-- /Fonts -->
<!-- Ticker -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
<script type="text/javascript" src="http://labs.ft.com/wp-content/uploads/2010/03/jquery.ticker.js"></script>
<!-- /Ticker -->
<!-- FancyBox -->
<link rel="stylesheet" href="fancybox/source/jquery.fancybox.css" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/jquery.fancybox.pack.js"></script>
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-buttons.css" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-buttons.js"></script>
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-media.js"></script>
<link rel="stylesheet" href="fancybox/source/helpers/jquery.fancybox-thumbs.css" type="text/css" media="screen" />
<script type="text/javascript" src="fancybox/source/helpers/jquery.fancybox-thumbs.js"></script>
<!-- /FancyBox -->
<!-- JS -->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<!-- /JS -->
<!--Analytics-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
提前致谢。