
Originally Posted by
leehughes
There is only google analytics using javascript on that page. I only use Jquery for photos and videos.
Regardless, you're calling it on every page, and it's breaking your JS. Your GA code is broken as well due to some weird line wrapping your editor might have done.
Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js'
type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-9391160-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'normal', /* fast/slow/normal */
padding: 40, /* padding for each side of the picture */
opacity: 0.75, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
allowresize: true, /* true/false */
counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
theme: 'dark_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
callback: function(){}
});
});
</script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme: 'dark_rounded'});
code.init();
});
</script>
Bookmarks