Javascript not working with Safari but working fine with Firefox

Discussion in 'Web Design and Development' started by jive, Jul 27, 2009.

  1. jive macrumors 6502a

    Joined:
    Apr 14, 2006
    Location:
    Scotland
    #1
    http://thetwoofhearts.com/home/


    It works fine for Firefox (the random image script shows up quite happily) but it just doesn't seem to register for Safari at all. It shows up in the Developers toolbar as loading the image but it doesn't show the image.


    I feel foolish. All help is appreciated.
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    It appears to work in my Safari 4.0.2. I did notice though that one of your CSS files is trying to be loaded using file:// prefix rather that http: which won't be helping. There's also some invalid HTML so you should work on that as well.
     
  3. jive thread starter macrumors 6502a

    Joined:
    Apr 14, 2006
    Location:
    Scotland
    #3
    I've fixed this to the best of my ability but it's still playing funny with safari. It seems to work fine all major browsers according to browsershots.org
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    What version of Safari?
     
  5. jive thread starter macrumors 6502a

    Joined:
    Apr 14, 2006
    Location:
    Scotland
    #5
    4.0.2 - It's on a brand new MacBook Pro but it's also not working on my iMac...
     
  6. jive thread starter macrumors 6502a

    Joined:
    Apr 14, 2006
    Location:
    Scotland
    #6

Share This Page