make PDF scrollable on ipad
This commit is contained in:
@@ -1,12 +1,25 @@
|
|||||||
|
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block title %}Brochure{% endblock title %}
|
{% block title %}Brochure{% endblock title %}
|
||||||
|
{% block meta %}
|
||||||
|
<style>
|
||||||
|
#container { overflow: auto; -webkit-overflow-scrolling: touch; height: 500px; }
|
||||||
|
object { width: 900px; height: 5000px }
|
||||||
|
</style>
|
||||||
|
{% endblock meta %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="grid_12 alpha">
|
<div class="grid_12 alpha">
|
||||||
<h2>Read our Brochure</h2>
|
<h2>Read our Brochure</h2>
|
||||||
|
|
||||||
<embed src="/static/brochure WEB.pdf" width="960" height="650">
|
<div id="container">
|
||||||
|
<object id="obj" data="/static/brochure WEB.pdf" >
|
||||||
|
object can't be rendered
|
||||||
|
</object>
|
||||||
|
</div>
|
||||||
|
<!--
|
||||||
|
<embed src="/static/brochure WEB.pdf" width="960" height="650">
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user