Javascript API - problem with width using seamless mode

109 views
Skip to first unread message

rafa...@zhr.pl

unread,
Jan 13, 2016, 7:15:15 AM1/13/16
to Scribd Platform Talk
I have a problem with setting width property to document displayed in seamless mode.

To explain a problem as clear as possible I have copied built in example from https://pl.scribd.com/developers/javascript_api and modified width property

http://zaczy.net/scribd_seamless_970px.html

I made two modifications: width of #container was change to 970px, and the second one was setting:

scribd_doc.addParam('width', 970);

As you can see width of document presented is still the same (679px), moreover when I see HTML generated HTML there is it literally set:


  <div class="outer_page only_ie6_border " id="outer_page_2" style="width: 679px; height: 510px;">


How can I fix it?




mariap...@gmail.com

unread,
Apr 11, 2017, 7:31:23 PM4/11/17
to Scribd Platform Talk, rafa...@zhr.pl
Reply all
Reply to author
Forward
0 new messages