- Oct 11, 2009thank you martin, simple but exactly what i needed to hear, cheers!
> I want to be able to instantiate multiple panels dynamically, the examples
> in YUI create the panels by hard coding when instantiating the Panels,
> YAHOO.example.container.panel1 = new YAHOO.widget.Panel("panel1" ...
> YAHOO.example.container.panel2 = new YAHOO.widget.Panel("panel2" ...
> YAHOO.example.container.panel3 = new YAHOO.widget.Panel("panel3" ...
> I would be able to name the Panels dynamically by creating a global
> counter function and do something like
> return "panel"+counter;
> but I don't see how I can dynamically create the variable to reference:
> any help on this would be great, I basically want to create a 1..n popups
View this message in context: http://www.nabble.com/Creating-dynamic-containers-tp25823496p25843028.html
- << Previous post in topic