We recently found an odd behaviour in Safari that stopped a script working on page load. We came back to the page and then it periodically worked, but on the whole it simply wasn’t firing up. If you have the same problem then we would advise the following:-
1. Make sure you are using valid HTML and Doctype. To validate your HTML you can visit the W3 Markup Validation Service
2. If you are loading the script with:-
REPLACE it and TRY binding a load to window with:–
If you are loading an image then you can also use:-
This will fire the carouFredSel script. The script is a nice continuous jQuery Carousel / Slider / Marquee.
This fixes scripts where the elements haven’t finished loading and miraculously fixed our script issue in Safari.
Of course let’s not rule out that you have a syntax error in your script, but if it works on other browsers then the above may well sort it for you too. Let us know how you get on!