iframe attributes fit view toolbar
by mfoley from LinuxQuestions.org on (#6GDH3)
I have the following iframe tag:
Code:<iframe style="display: block; margin: 0 auto; margin-top: 20px; width: 900px; height: 11.2in;"
src="mydoc.pdf#view=fit&toolbar=0&navpanes=0&statusbar=0">
</iframe>I created this a long time ago, so things may have changed with HTML5. Two questions:
1. I cannot find the #view=fit in any searched. The # would seem to indicate a name tag in the document, so that doesn't make sense, but if I change it = ?view=fit, none of the other parameters work. Also, the scrolling=no tag attribute (not in my iframe) is deprecated, so how would I remove the scrollbar? I see no official attribute for this. The only way I can make the scrollbar disappear is to create a sufficiently long iframe.
2. The toolbar=0 works on Edge
Code:<iframe style="display: block; margin: 0 auto; margin-top: 20px; width: 900px; height: 11.2in;"
src="mydoc.pdf#view=fit&toolbar=0&navpanes=0&statusbar=0">
</iframe>I created this a long time ago, so things may have changed with HTML5. Two questions:
1. I cannot find the #view=fit in any searched. The # would seem to indicate a name tag in the document, so that doesn't make sense, but if I change it = ?view=fit, none of the other parameters work. Also, the scrolling=no tag attribute (not in my iframe) is deprecated, so how would I remove the scrollbar? I see no official attribute for this. The only way I can make the scrollbar disappear is to create a sufficiently long iframe.
2. The toolbar=0 works on Edge