Hi,
The problem with adding pages to the sliding panel are potential performance issues if you start to add too many pages… that’s why the sliding panel has no “addPage” method. What we advise is rather to have a third page where you would dynamically change the content.
for instance:
sliding_panels = new wink.ui.layout.SlidingPanels( { duration: 500, pages: [ 'news', 'blog', 'articles' ] } );
wrapper.append( sliding_panels.getDomNode());
And just before sliding:
$('articles').innerHTML = 'my article content';
sliding_panels.slideTo('articles');
Jérôme