Unit PNG Fix is a great workaround for those projects which require the use of alpha transparency in IE6. As well as being very compact—just over 1KB—it is also very easy to implement. However, using Unit PNG Fix on a secure domain can result in a “This page contains both secure and non–secure items…” error… Read more »
Posts Categorized: javascript
Loading JSON from another domain with jQuery
Following this example on the JQuery docs only got me so far. I knew that you needed to pass a URL to getJSON() and append a callback parameter to the end of it: $.getJSON(“http://www.example.com? jsoncallback=?”); But then what? JQuery will look at the data returned for a call to ‘jsoncallback’ so to get this to… Read more »
JavaScript Debugging
Debugging JavaScript in Internet Explorer is notoriously hard because of it’s unhelpful error messages. BernieCode explains the best way I have found to step through JavaScript in IE with a debugger using the free Visual Web Developer Express. One thing though is that I needed to change my default browser so that it launched IE… Read more »
Quick Tip: Debugging JavaScript XML problems
When reading an XML file in JavaScript everything was fine in Firefox but IE didn’t seem to be able to understand it. Seems obvious now but after a lot of head scratching we realised an easy way to find out what IE thinks of an XML file is, of course, to load the XML file… Read more »