Archive for April, 2008

Object.extend is not a function

Thursday, April 24th, 2008

I currently encounter a javascript problem on IE….saying “Object.extend is not a function” - which is used inside of the lightbox.js library. Firebug doesn’t moan as much - it just lists this error in the error console…..

Object.extend seems to be deprecated?

Images outside of DIV container (IE Bug)

Wednesday, April 23rd, 2008

I have added a new category “CSS”. Doing CSS that works on all browser is a real pain in the neck…especially finding workarounds to tell lousy Internet Explorer how to behave.

I have had the following problem - a simple div box with images inside:

<div class=”outerBox”>

<div class=”someClass”><img src=”…”/></div>

<div class=”someClass”><img src=”…”/></div>

<div class=”someClass”><img src=”…”/></div>

</div>

IE wouldn’t display the images inside of the DIV - instead they where hovering around below the box.

The solution was: tell the parent outerBox CSS to overflow:auto;