IE Error on Page?

slippahsslippahs Registered Users Posts: 10 Big grins
edited March 27, 2006 in SmugMug Support
After some browsing on my SM site on IE, I'm finding an error on all my pages that doesn't appear when using Firefox.

It seems to occur on this line:
IE wrote:
<body onload=" smugLoad(); OnLoadHandler();" class="category category_Hotel_Rooms bodyColor_White"> <!-- These extra divs/spans may be used as catch-alls to add extra imagery. -->
Can anyone point me in the right direction?

http://slippahs.smugmug.com/index.html

Thanks!

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited March 27, 2006
    slippahs wrote:
    After some browsing on my SM site on IE, I'm finding an error on all my pages that doesn't appear when using Firefox.

    It seems to occur on this line:

    Can anyone point me in the right direction?

    http://slippahs.smugmug.com/index.html

    Thanks!


    wave.gif Aloha, slippahs :D

    It was because your custom JS for the referral-code hack, it wasn't being told to load, you forgot a key piece fo the code:
    function OnLoadHandler()
      {
      	AddReferralCode();
      }
    

    No worries, though, I put it in for you and your custom javascript should be working fine now, I also checked the smugmug link and indeed, it carries through with your referral code!

    I hope this helps,
  • ivarivar Registered Users Posts: 8,395 Major grins
    edited March 27, 2006
    slippahs wrote:
    After some browsing on my SM site on IE, I'm finding an error on all my pages that doesn't appear when using Firefox.

    It seems to occur on this line:

    Can anyone point me in the right direction?

    http://slippahs.smugmug.com/index.html

    Thanks!
    I don't really know if this makes things better or worse, but all your public galleries show no errors when browsing with IE on my computer...

    EDIT: and that's probably because Andy beat me, and fixed it already, never mindrolleyes1.gif
  • BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited March 27, 2006
    Andy, this thread prompted me to check my site in IE on my PC at work. Something I don't do very often, or often enough to check for things. I'm coming up with Javascript errors in IE, also. I've checked my code, but don't seem to see what is causing it. No errors in FF on my Mac or PC. If you get a chance, can you have a look-see to see what the problem might be?
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited March 27, 2006
    bygates wrote:
    Andy, this thread prompted me to check my site in IE on my PC at work. Something I don't do very often, or often enough to check for things. I'm coming up with Javascript errors in IE, also. I've checked my code, but don't seem to see what is causing it. No errors in FF on my Mac or PC. If you get a chance, can you have a look-see to see what the problem might be?

    Ivar, or Dev, or Lee or Dutchie they're you're guys, Barb deal.gif
    I looked, you only have one function loading in your body tag, how are all the rest of your JS hacks being loaded?
  • BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited March 27, 2006
    Andy wrote:
    Ivar, or Dev, or Lee or Dutchie they're you're guys, Barb <img src="https://us.v-cdn.net/6029383/emoji/deal.gif&quot; border="0" alt="" >
    I looked, you only have one function loading in your body tag, how are all the rest of your JS hacks being loaded?

    Well, either in my footer via <script> ... </script> or addEvent in the JS section. Maybe that's the problem - I have them everywhere <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif&quot; border="0" alt="" >

    And, this will sound stupid, but I don't use a PC much any more, so I was assuming those were Javascript errors, maybe they're some other errors? I don't know - it's a little triangle with an exclamation point in it in the bottom left of the status bar in IE.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited March 27, 2006
    bygates wrote:
    Well, either in my footer via <script> ... </script> or addEvent in the JS section. Maybe that's the problem - I have them everywhere <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif&quot; border="0" alt="" >

    And, this will sound stupid, but I don't use a PC much any more, so I was assuming those were Javascript errors, maybe they're some other errors? I don't know - it's a little triangle with an exclamation point in it in the bottom left of the status bar in IE.
    They are JS errors, harmless, but you should get one of the Javascripters to help you fixy them
  • BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited March 27, 2006
    Andy wrote:
    They are JS errors, harmless, but you should get one of the Javascripters to help you fixy them

    Okey dokey - I'll just sit on my hands and not touch a thing until then :D
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • bwgbwg Registered Users, Retired Mod Posts: 2,119 SmugMug Employee
    edited March 27, 2006
    bygates wrote:
    Okey dokey - I'll just sit on my hands and not touch a thing until then :D

    barb, this line in your javascript:
    addEvent(window, 'load', function() { AddReferralCode(); doOnLoad(); OnLoadHandler(); });
    

    that doOnLoad function it's trying to reference doesn't exist...you need to remove it from that statement.
    Pedal faster
  • BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited March 27, 2006
    bigwebguy wrote:
    barb, this line in your javascript:
    addEvent(window, 'load', function() { AddReferralCode(); doOnLoad(); OnLoadHandler(); });
    
    that doOnLoad function it's trying to reference doesn't exist...you need to remove it from that statement.

    Thank you Lee. I figured it was something simple, yet too complex for me! No more errors. Nice.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • slippahsslippahs Registered Users Posts: 10 Big grins
    edited March 27, 2006
    Andy wrote:
    wave.gif Aloha, slippahs :D

    It was because your custom JS for the referral-code hack, it wasn't being told to load, you forgot a key piece fo the code:
    function OnLoadHandler()
      {
          AddReferralCode();
      }
    
    No worries, though, I put it in for you and your custom javascript should be working fine now, I also checked the smugmug link and indeed, it carries through with your referral code!

    I hope this helps,
    Andy, mahalo plenty! Appreciate the help.
  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited March 27, 2006
    slippahs wrote:
    Andy, mahalo plenty! Appreciate the help.

    YW, very much :D As much as I like food though, please, do not send poi naughty.gif
Sign In or Register to comment.