Tested Firefox 4.01 and up under Linux using the User Agent Switcher
addon. The images appear and but trying to change to any of the other
options (Applications, Accessories, etc) doesn't work. Trying my best
with Firebug I got this error when running with a Linux user agent
string:

I.u.match(/AppleWebKit\/\d*/i) is null 
http://images.apple.com/metrics/scripts/s_code_h.js
 Line 73

And looking at that line:

73 S=S[1].split(/_|\./);I.prop9=S[0]+"."+S[1]+".x";return}var 
e=I.u.match(/AppleWebKit\/\d*/i).toString().replace(/AppleWebKit\//i,"");
74 
if(e>522){I.prop9="10.5.x"}else{if(e>400){I.prop9="10.4.x"}else{if(e>99){I.prop9="10.3.x"
75 }else{if(e>80){I.prop9="10.2.x"}else{I.prop9="mac unknown or 
non-safari"}}}}}J();

The prototypejs library being used is 1.7, latest stable. If anyone
knows more JS than I do (easy) and would like to nail this a bit further
before I write again to apple, that would be great.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/809155

Title:
  The slider (carousel) at the top of the page on apple.com/mac doesn't
  work on Firefox

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/809155/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to