Hello Stephan,
To achieve horizontal orientation, you should add more panels. It is the panels that are aligned, not the windows inside.
In your example, change the script to:
$('#myApp').append('<div id="dock" />');$('#dock').append('<div id="panel1" />');$('#dock').append('<div id="panel2" />');$('#panel1').append('<div id="window1"><div>Header 1</div><div>Content 1</div></div>');$('#panel1').append('<div id="window2"><div>Header 2</div><div>Content 2</div></div>');$('#panel2').append('<div id="window3"><div>Header 3</div><div>Content 3</div></div>');$("#dock").jqxDocking({ width: "300", mode: 'docked', orientation: 'horizontal', //orientation: 'vertical',});
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/