ie7-js

A JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6. I c...

Web Frontend

getURL or navigateToURL popup windows are blocked by IE

Problem description:This afternoon I ran into a hassle: IE7 and IE8 intercept navigateToURL('xxx','_blank') inside Flash; getURL under AS2 gets intercepted the same way. I feel like I’ve run into this before, but it doesn’t happen that often, so I never bothered to dig into what conditions trigger the interception. It came up again today, so it’s a good chance to figure out why. After some searching, I found plenty of discussions from last year. Someone pointed out: IE7 and Firefox (the version I’m using is 2.0.0.11) block opening new windows with the navigateToURL method, while the getURL method in AS2 doesn’t — which is pretty annoying. Since the project chose AS3, we just have to find a way around it. The first thing that comes to mind is ExternalInterface, of course, but testing showed it still gets blocked. Then I wondered whether adding wmode would help, so I added the wmode attribute set to opaque to the page — and sure enough, it worked.

Web Frontend

The trouble with jQuery's window.resize in IE

To do size control on a Flash site, you usually need the Flash movie to scale up and down automatically along with the window size. The approach I took: put a container div in place to hold it, with the Flash set to 100% width and height inside. JS listens for browser window resizing and then resets the size of the container div. The Flash side listens for stage changes and moves views to the corresponding positions, etc. The problem showed up in the jQuery window-resize listener. Code:

Web Frontend

In IE, the .type of an input element is read-only!

Today I hit an error and discovered that in IE the .type of an input element is read-only!

Web Frontend