- var testclass = new Class({
- Implements: Options,
- options: {
- container: null,
- leftdiv: null
- },
- initialize: function(options){
- this.setOptions(options);
- }
- });
Here is the code.. extremely simple:
and here is my code to create an instance of the class:
- window.addEvent('domready', function(){
- var testobject = new testclass({
- container: 'test1',
- leftdiv: 'test2'
- });
- });
Obviously I am missing something that is most likely very simply but for some reason I can't figure it out.. any help would be greatly appreciated.


