How to put an existing div into a panel?
I have a html page like
<body><div id="content">somehting here</div></body>
How can I put the existing div ("content") into a panel? Thanks.
use the 'contentEl' attribute when constructing the panel
Great. Thanks a lot!
Originally Posted by djliquidice
I'm currently using "contentEl" to add an existing div (a jplayer div) to my panel. The problem is that I do not want it to be appended to the very end of my panel html, but would like to insert it inbetween other elements.
How would I add an existing div element to my panel at a specified location? [e.g. like "panel.insert(index, element);" does]
This would be most useful.