Link to home
Start Free TrialLog in
Avatar of universalglove
universalgloveFlag for United States of America

asked on

IE 9 or 10: Issues with Javascript Locally

I'm hoping someone might have suggestions for where to look regarding what might cause Internet Explorer to have issues displaying web pages.
I've begun to suspect, and it seems to be getting borne out, that IE 9 and IE 10 have various issues displaying websites, but only internally on local workstations, located on our work network; and usually in relation to Javascript.

2 sample sites:
thepioneerwoman.com (loads and I see the page loading, but then it reaches a point where the background image pops to the forefront, the page is finished, and that + a few other random elements in the header are all I see)
https://pmtdscinsite.rrd.com (acts like it's loading, but only ever shows a white screen)

• Tried various workstations, IE 9 and IE 10 variously. They all seem to match.
• Had someone external test the sites, and they loaded fine for them.
• My contacts at the RRD site say they see no issues w/ IE 9 (at the time I called them), and hadn't heard otherwise.
• IE 10 works like crap in general (for me) on all our own web pages (served from an external ISP), but admittedly they're aging and things like content standards matching the declared Doctype may be issues.
• Also have issues w/ ReCaptcha displaying poorly internally, but it seems to work elsewhere just fine. I've heard no complaints about it from users for where I have it located on our sites. It worked fine on my personal laptop from home; same for another employee; but, also worked fine on my laptop when using our work internet.
• Everything used to work perfectly in IE 8, afaik. I have a virtual XP now w/ IE 8, and it displays all perfectly (a little bit of an issue w/ hidden text in ReCaptcha, but it's functional).
• Finally, my IT helper did a test where he removed himself from our domain, was using a secondary internet connx (same ISP, though), and shut off our antivirus. No change in IE 9 or 10.

So, it could be our ISP; it could be the Sonicwall somehow. It's not our domain. It's not the antivirus. It's not a specific computer, although bringing outside computers in, like my laptop, yields inconsistent results. (I'd have to test and record more thoroughly to be certain.)
If it was a bigger issue w/ IE 9 or 10 s^cking worse, I'd think I could more readily find consistent complaints about such; and that bigger sites like thePioneerWoman would be having to address it. But the sites display fine elsewhere, and ...

My IT assistant has discovered the issue. So I'm going to post this question anyway, since I wrote it all out; and post the answer later, for posterity and my own records. Otherwise, this would be a 5000 point question.
ASKER CERTIFIED SOLUTION
Avatar of universalglove
universalglove
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Scott Fell
I don't think it is the issue but there are a lot of errors on the page as far as html errors.  
http://validator.w3.org/check?uri=https%3A%2F%2Fpmtdscinsite.rrd.com%2FSite%2FPages%2Flogin.aspx%3FIsRedirect%3D1&charset=%28detect+automatically%29&doctype=Inline&group=0

I have read a few places that the security adjustment works.  

Click the cog wheel towards the upper right part of the IE10 window. This will open a menu.

Select “Internet Options” from the menu. This will open the options window.

Select the “Advanced” tab.

Scroll down to the “Security” section.

Check the “Enhanced Protection Mode” option.

Save the options and restart the computer. Problem fixed!
I know that the old Type 1 Helvetica and Arial fonts that came with Corel Draw can cause serious problems.  I have had to remove them from my computers to prevent spacing problems with other fonts.  No, I do not know why that happens but removing them fixed it.
Avatar of universalglove

ASKER

@DaveBaldwin: Fortunately our Arial is already OpenType. I'm assuming that's new enough that that's the reason it hasn't caused issues.

@padas: I'll have to keep the Security option in mind if I find more errors that seem to be particularly limited to our environment.

Mostly I try not to change anything in IE, because, aside from a few sites "made" for IE (less and less the case, esp as IE 9/10 break them), I only use IE to test whether sites I'm making will work for "standard" users. I assume the standard, non-technical user changes few defaults - esp users in my audience.

I'm definitely finding out for issues now occurring in IE 9/10, how much IE cares about the DocType and that it be directly up top in the final HTML. Mostly I just made sure before to include one that seemed fairly appropriate to my HTML; but I'm going to have to start tightening up my knowledge and usage on that. Fortunately, the example sites I provided aren't mine, so I don't have to fix them. Yeahoo! I just have to make them work in IE for my local users. >:P
You might want to go thru the fonts to see if there are other old Type 1 fonts that can be problems.  I never understood or found out why the Type 1 fonts were affecting the TTF and OTF font spacings.

As for DOCTYPE, a particular DOCTYPE describes a set of rules for rendering a web page.  It is not enough to just have a DOCTYPE but the rest of the page must follow the rules for that DOCTYPE.  FYI, here is a list of the recommended DOCTYPEs: http://www.w3.org/QA/2002/04/valid-dtd-list.html
As stated above, accepting my own comment because the solution was found shortly after posting the question.