Thanks Charles. Did that yesterday. No luck. Even though when I look at the snippet code the line required is commented out, no matter what I do the cached modsnippet version (even after I manually delete) still shows the line un-commented. Very odd.
However this doesn't fix my ordering of the Jquery and js load. Can you tell me where I can inject a reference to a custom script in the mxcalendar header injection?
The code Im referring to is:
<script type="text/javascript" src="http://www.skipngofarm.com/assets/templates/sng/js/script.js"></script>
<link rel="stylesheet" href="/assets/components/mxcalendars/themes/sng/css/mxcalendar.css" type="text/css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="/assets/components/mxcalendars/js/web/mxc-calendar.js"></script>
<link rel="stylesheet" href="/assets/components/gallery/packages/slimbox/css/slimbox2.css" type="text/css" />
<script type="text/javascript" src="/assets/components/gallery/packages/slimbox/js/slimbox2.js"></script>
<script type="text/javascript">
if (!/android|iphone|ipod|series60|symbian|windows ce|blackberry/i.test(navigator.userAgent)) {
jQuery(function($) {
var opts = {"loop":false,"overlayOpacity":0.8,"overlayFadeDuration":400,"resizeDuration":400,"resizeEasing":"swing","initialWidth":250,"initialHeight":250,"imageFadeDuration":400,"captionAnimationDuration":400,"counterText":"Image {x} of {y}","album":"2","tag":"","plugin":"slimbox","pluginPath":"","thumbTpl":"galItemThumb","containerTpl":"","itemCls":"gal-item-active","toPlaceholder":"current","thumbWidth":"120","thumbHeight":"90","thumbZoomCrop":true,"thumbFar":"C","thumbQuality":90,"thumbProperties":"","linkToImage":"","imageGetParam":"galItem","imageWidth":500,"imageHeight":500,"imageZoomCrop":false,"imageFar":"","imageQuality":90,"imageProperties":"","sort":"rand","dir":"ASC","limit":"4","start":0,"showInactive":false,"checkForRequestAlbumVar":true,"albumRequestVar":"galAlbum","checkForRequestTagVar":true,"tagRequestVar":"galTag","useCss":true};
$("a[rel^='lightbox']").slimbox(opts, function(el) {
return [encodeURI(el.href), el.title];
}, function(el) {
return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
});
});
}
</script>
I'd like to insert a script link after this and before the </head> tag.