MochaUI: 'A is null' when adding columns
Posted
by Richard John
on Stack Overflow
See other posts from Stack Overflow
or by Richard John
Published on 2009-07-01T08:58:52Z
Indexed on
2010/05/02
13:38 UTC
Read the original article
Hit count: 237
I've just downloaded MochaUI, and I'm playing around trying to build an interface.
I've successfully created windows, but I'm having trouble when it comes to layouts with columns.
I've included all of the libraries in the same order as the demo, and this is in my init code:
window.addEvent('domready', function(){
new MochaUI.Column({
id: 'sideColumn1',
placement: 'left',
width: 200,
resizeLimit: [100, 300]
});
});
When run, no column is created and I get the error:
A is null
Does anyone have any ideas? Thanks!
© Stack Overflow or respective owner