Hallo DD Admin and thank you for your help. 
I was playing around now for 5 days and i can't get.
The thing is, i can't use the smarty template engine in {literal} tags (it musst be turn around the javascript to get it work).
Code:
{literal}
<script type="text/javascript">
var bookonflowers={
pages: ["demofiles/flower.htm", "demofiles/flower2.htm", "demofiles/flower3.htm", "demofiles/flower4.htm"],
selectedpage: 0 //set page shown by default (0=1st page)
}
var mybookinstance=new ajaxpageclass.createBook(bookonflowers, "bookcontent", ["paginate-top", "paginate-bottom"])
</script>
{/literal}
Last question, is there a way to make it like the Ajax content script?
Code:
<div id="bookonflowers">
"demofiles/flower.htm", "demofiles/flower2.htm", "demofiles/flower3.htm", "demofiles/flower4.htm"
</div>
And this will than replace in order to work with the javascript?
This would make the things easier to work! 
Thanks
- Linda
Bookmarks