Hej Irene
Jeg har kigget på din side i Firefox hvor jeg har diverse addons til, og min webdeveloper til firefox melder følgende fejl:
Fejl: $("a[rel^='prettyPhoto']").prettyPhoto is not a function
Kildefil:
http://www.paapinden.dk/Linje: 719
Så et eller andet sted i din kode går den gal.
Jeg har kigget lidt nærmere og i din <head> inkluderer du et link til jQuery 1.7, men nederst i din fil har du denne kode, som indeholder jQuery i version 1.6.1, så dernede vil din jQuery version 1.7 blive overskrevet med version 1.6.1....
[code]
<!-- layoutbokse slutter -->
<!-- addthis -->
<script type="text/javascript" src="
http://s7.addthis.com/js/250/addthis_widget.js#username=ireneb"></script><!-- prettyPhoto -->
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
animationSpeed: 'normal', /* fast/slow/normal */
padding: 20, /* padding for each side of the picture - men kun højre og venstre */
opacity: 0.65, /* Value betwee 0 and 1 */
showTitle: true, /* true/false */
/* overlay_gallery: false, /* true/false */
allowresize: true, /* true/false */
counter_separator_label: ' af ', /* The separator for the gallery counter 1 "of" 2 */
theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square */
hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */
modal: false, /* If set to true, only the close button will close the window */
changepicturecallback: function(){}, /* Called everytime an item is shown/changed */
callback: function(){} /* Called when prettyPhoto is closed */
});
});
</script>
<!-- blogtoppen -->
<script type="text/javascript" src="
http://www.blogtoppen.dk/media/js/bt_tracker.js"></script><script type="text/javascript">
bt_track_blog("BXlQbUOLD0O1iDF0DNLX1ciXRm0,");
</script>
<!-- google -->
<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">
var pageTracker = _gat._getTracker("UA-3134247-1");
pageTracker._initData();
pageTracker._trackPageview();
</script><!-- InstanceBeginEditable name="spry" -->
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
[/code]
//Carsten