Category Archives: (X)HTML Coding

Mootools: fixing “’something.window’ is null or not an object” error

Ran in to a strange error on one page of a website we were working on today, relating to a Mootools JavaScript error that manifested in IE only. (IE6 through to IE8 all had the problem)
The error we saw was :
‘A.window’ is null or not an object
However, research on the Internet has also shown that:
‘doc.window’ [...]

Fix: website hacked but only in IE

We’ve been playing the role of super-sleuths today, to try and work out why a client’s website was not working.
All was fine in Firefox and other normal browers, but anybody visiting using IE (any version) got a malicious little javascript loading up an iframe with lots of other unwanted malware within it.
Checking the actual pages [...]

IE6 for Windows Vista - it’s here!

It’s a sad fact when you get excited about the availability of a new version of Internet Explorer, and even sadder if that version should be Internet Explorer 6!  However, with 20% of Internet users still using Microsoft’s les-than-perfect IE6 browser, any web designer/developer worth their salt has to ensure that their websites look and [...]

True cross browser CSS transparency / opacity (inc. IE8)

Now updated to include opacity/transparency setting for IE8 in strict mode! (Good old Microsoft - making something that was already complicated, that little bit harder…)
It doesn’t validate if you’re using the W3 CSS validator, but it does ensure that whatever element you want to make transparent (or vary the opacity of) using CSS is really [...]

Remove unwanted line-space when designing a form in HTML

Here’s a little tip that not everyone will know, and one that made my life a whole lot easier when I first discovered it.
Say you’re designing a form on a page that has pixel perfect layout.  Everything is looking great, but there is one problem:
you can’t figure out why there is a line-space underneath the [...]

RSS for Posts RSS for Comments