Ticket #1049 (closed bug: wontfix)
3D carousel interface plugin does not work in safari
| Reported by: | dan | Owned by: | stefan |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1.3 |
| Component: | interface | Version: | 1.1.2 |
| Keywords: | carousel safari interface | Cc: | |
| Blocking: | Blocked by: |
Description
When viewing the demo of the 3D carousel on the interface website in Safari 2.0.4 (haven't checked other versions of Safari) the thumbnails all loaded up on top of one another and did not form a circle or animate and when clicked they just linked to the image and produced no effects. This was observed with javascript turned ON and in the same browser other interface elements on the other demo pages worked as expected. The bug basically makes it look as if javascript is turned off, I assume that some offending line of code is preventing the script from running.
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Fix for this issue - it's not perfect, but it does work, and doesn't appear to cause any problems for other browsers.
Sorry, I don't know how to create a proper patch file or diff for this, so this will have to do.
The offending lines are 158-159, gradient.addColorStop(), in carousel.js;
Replace those lines with the following code:
if(!jQuery.browser.safari) { gradient.addColorStop(1, "rgba(255, 255, 255, 1)"); gradient.addColorStop(0, "rgba(255, 255, 255, 0.6)"); }This should make it work in Safari, and my tests have shown that it still works in Firefox.