Reputation: 11
Prettyphoto jquery doesn't seem to be working in ie7 I've tried placing the script in different areas within the code/head, but still get a none support warning, so I've put it in a separate js file and again its still not working in ie7? Any help please, thanks T
the code is here: http://www.designford.co.uk/web.html
Upvotes: 1
Views: 1476
Reputation: 15337
I was having an issue with this too, and I solved it just by removing a comma at the end of my prettyPhotto options. Different from other browsers, IE7 shows an JS error when you leave a comma at the last item. Hope this helps.
Upvotes: 1
Reputation: 98748
You are loading PrettyPhoto twice...
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery.prettyPhoto.js" charset="utf-8"></script>
<script type="text/javascript" src="js/jquery.cycle.all.2.74.js"></script>
<script type="text/javascript" src="js/jquery.easing.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.prettyPhoto.js" charset="utf-8"></script>
<script type="text/javascript" src="js/jquery.lavalamp.min.js"></script>
I am also not sure why you need the charset="utf-8"
within the JS Includes.
You have a whole bunch of Validation Errors too.
EDIT:
Also see the link at the end of this answer about the best place to insert your JS Includes.
Upvotes: 1