Can anyone advise me on why the prettyPhoto javascript does not load in safari. With reference to the site: http://homepage.mac.com/alecgatenby/ken ... index.html
once you click into portfolio it does not load in safari, it does work in Firefox... Any tips on how to fix this are most welcome!?...
Alec
PrettyPhoto javascript does not work on safari?
Moderator: General Moderators
-
alecgatenby
- Forum Newbie
- Posts: 3
- Joined: Thu Jul 02, 2009 9:54 am
Re: PrettyPhoto javascript does not work on safari?
Try changing:
to
I don't know if it's still an issue with latest jQuery, but there used to be such a problem that 'on ready' event DOM was not available in Safari.
Code: Select all
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({Code: Select all
$(window).bind('load', function(){ //or document.body instead of window if this doesn't work
$("a[rel^='prettyPhoto']").prettyPhoto({