Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var qElements = new Class({
- Implements: qBase,
- // element counters
- iRadio:1,
- iButton:1,
- iTextArea:1,
- iTextField:1,
- initialize: function(){},
- qButton: function(opt) {
- var type = "qButton";
- var b = this.getElContainer({'class':type+'Container'}).adopt(new Element('input', Object.merge({'type':'button','class':type,'value':'button'+this.iButton}, opt);));
- return b;
- },
- getElContainer:function(options){
- var el = new Element('div', options || {'class':'qElementContainer'});
- return el;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement