Adjust the size of the iframe

pull/1/head
Raymond Yee 2011-11-21 20:36:14 -08:00
parent e99c98a014
commit 726f086c4c
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@
</head>
<body>
<p>Our widget</p>
<iframe src="http://ry-dev.dyndns.org/api/widget/9781570616709/" width="150" height="360" frameborder="0"></iframe>
<iframe src="http://ry-dev.dyndns.org/api/widget/9781570616709/" width="140" height="360" frameborder="0" scrolling="no"></iframe>
</body>

View File

@ -10,7 +10,7 @@
<p>ISBN: {{campaign.work.editions.all.0.isbn_10}} | {{campaign.work.editions.all.0.isbn_13}} </p>
<p><a href="{% url widget isbn=campaign.work.editions.all.0.isbn_10 %}">Widget Link</a></p>
<p>Embed a widget:</p>
<textarea rows="2" cols="80">&lt;iframe src="{{base_url}}/api/widget/{{campaign.work.editions.all.0.isbn_13}}/" width="150" height="360" frameborder="0"&gt;</iframe></textarea>
<textarea rows="2" cols="80">&lt;iframe src="{{base_url}}/api/widget/{{campaign.work.editions.all.0.isbn_13}}/" width="140" height="360" frameborder="0"&gt;</iframe></textarea>
<p>PayPal receiver: {{campaign.paypal_receiver}}</p>
<p>Current total (pledged/authorized): {{campaign.current_total}}</p>
<p>Base URL: {{base_url}}</p>