Hello my friends
and thanks very much for this module creator
I read this help http://www.scribd.com/developers/api?method_name=Javascript+API#properties
to do "document zoom-in", I found this api "api.setZoom()" - but faild to use it in section "Control the backend of the module." of module settings page.
please help me to do zoom-in automatically
thanks and best regards.

Comments

rares’s picture

Try this:

var oniPaperReady = function(e){
 scribd_doc.api.setZoom(10);
}

scribd_doc.addEventListener( 'iPaperReady', oniPaperReady );
math_1048’s picture

Thank you very much for help
I try this code - but no effect - with changing the zoom factor value too :(
thanks and best regards

rares’s picture

try this:

var oniPaperReady = function(e){
scribd_doc.api.setZoom(0.10);
}

scribd_doc.addEventListener( 'iPaperReady', oniPaperReady );

This should set it to 10%.