I want to display the different pdf view on button click (small,large,medium etc).
I used object
to display the pdf file.
<div id="pdfview">
<object data="filename#view=FitH" type="application/pdf" style="width:100%;" id="pdfHeight" >
<embed src="filename#view=FitH" type="application/pdf" />
</object>
</div>
I need to change the pdf view without reloading, when click on a button named as Small PDF
, then the width of the div having id pdfview
changed to width:30%
.