开发者

Customising wc.pageturner

开发者 https://www.devze.com 2023-03-14 19:56 出处:网络
Adding wc.pageturner to a plone 3.3.5 site, I can convert and view pdf files in the classic skin. I also have a custom skin (activated with skinswitcher) that has it\'s own main_template and is driven

Adding wc.pageturner to a plone 3.3.5 site, I can convert and view pdf files in the classic skin. I also have a custom skin (activated with skinswitcher) that has it's own main_template and is driven entirely by javascript.

To view a pdf file in this skin I embed a FlexPaperViewer object directly into a div. This renders the pdf correctly but the controls are not active (like scrolling, zooming, etc). When I compare the FlexPaperViewer objects rendered on the classic skin and custom skin, they are the same.

I have swfobject.js and flexpaper_flash.js in the main template head. Is other javascript I should include to get the controls working?

Thanks开发者_运维知识库 Mike

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号