View Full Version : JavaScript differences between IE7 XP and IE7 Vista?

03-05-2007, 12:20 AM
Does anyone know what differences exist in JavaScript/ DHTML rendering between IE7 XP and IE7 Vista? Clearly there are some, because I was over at my brother's this weekend (who uses Vista), and was surprised that a few scripts on DD don't run correctly in IE7 Vista. For example:

1) Image Thumbnail Viewer II (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm): Basically nothing shows up, I suspect due to the IE filters used somehow.

2) DHTML modal window (http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm): When a window is activated onclick, the "veil" doesn't cover the entire document, just the viewable window.

I tried Vista, and didn't like it at all. So many security prompts even for the most obvious things, so many incompatible programs (even MSN 8.1 doesn't run, I needed to downgrade to MSN 8.0), not to mention a whole bunch of other nuisances. So clearly I don't want to have to buy a Vista PC now just to run a few DHTML scripts on it. lol

03-05-2007, 12:33 AM
Yeah... it's pretty bad, the fact that they were saying that Vista would be all that much better, and it turns out that most people don't like it.

03-05-2007, 12:35 AM
As for right now, I can check what's going on in IE7 on XP (Home and Pro). As for testing on Vista, I will have to wait untill I go into work tomorrow so that I have access to a Vista PC (I haven't tried to install VNC on it yet due to those said security prompts).

03-05-2007, 02:12 AM
I was mainly wondering if there is documentation somewhere listing the differences between the two versions of IE7 as far as JavaScript/ DHTML rendering. Clearly there are differences if I'm witnessing them first hand, but I'm curious on the how/why part. :)

03-05-2007, 02:14 AM
Ah...I would think that the Microsoft website would have some info on it. Although, M$ has been known to not talk about their flaws.

03-05-2007, 02:14 AM
Another example - I make a holiday detection JavaScript. Set it for Christmas. Open it in IE7 on Vista. It says it's Christmas. I try it on a professional-made one. It also says it's Christmas. I check my calendar. It's the middle of February. :mad:

03-05-2007, 07:28 AM
A quick Google search tends to imply that this information hasn't been gathered together yet:


windows vista browser rendering quirks



I get the impression that the added security of Vista combined with the fact that it really doesn't seem to have all the kinks worked out yet may be at the root of these rendering differences.

How about a:

document.write('This page best not viewed in Windows Vista')


It just occurred to me again answering a similar question to this one elsewhere that, although there are apparent differences, I think folks will be exaggerating this in their minds and seeing differences where there are none or attributing the cause to Vista when it is in fact something else.

03-05-2007, 09:13 AM
Yep, I did try to research this topic on Google first, though didn't come across anything useful.

I think folks will be exaggerating this in their minds and seeing differences where there are none or attributing the cause to Vista when it is in fact something else.

To a certain extent that's bound to happen, but when something that works in Win XP IE7 perfectly fails miserably in IE7 Vista, as if these are two different browsers, I think there's something inherently different about these two browsers that Microsoft should let developers know, for everyone's sake. Lets see how long I can avoid getting a new PC soon in light of this latest snag on the road. I've been going about fine for close to 5 years now with my current PC, and planned to at least go another year. heh

03-05-2007, 09:28 AM
I've been looking at things on the web some more too but, nothing specific jumps out. I get the impression that this 'default protected mode' for browsing in Vista may be preventing certain features (as you alluded to with filters) from being available.

I didn't mean to imply that there are no differences though. I did run across a dated (circa 2006) IE Blog entry on naming and testing for IE 7 Vista. The major difference is that in Vista the OS is NT 6.0 (for testing) and they wanted to refer to IE 7 Vista as IE 7+ and caught a lot of flack for that as it is so much like saying IE 5.5+ to cover 5.5 and later.

03-05-2007, 01:00 PM
I think that in Vista's version, ActiveX is disabled by default, which would explain the filter troubles.

03-23-2007, 11:08 AM
I develop a web site and have used for some time XP Pro with IE7, the pages of the site render correctly with this OS Browser combination. View the same pages from Vista Home Prenium with IE7 and content which is located correctly on XP presented overfollowing the container div boundaries.

It is the only difference I have experienced, but it is another one to add to the list of documented issues.

I am now suggesting that the company I work for consider testing Vista IE7 in conjunction with XP IE7 and not to treat IE7 as the same thing regardless of the OS.

03-23-2007, 01:56 PM
This most recent report by Chadders seems to indicate either stricter compliance with standards, or perhaps simply a different screen resolution. It could be an outright bug or something else entirely though. Much could depend upon the markup in question.