de-button the ungluers to go

pull/1/head
eric 2013-05-02 15:58:28 -04:00
parent 3b44e643d5
commit 5f6abec1d5
1 changed files with 3 additions and 7 deletions

View File

@ -1,9 +1,6 @@
<div class="btn_support">
<a href="#" id="degruyter_countdown"></a>
</div>
<div class="launch_top" id="degruyter_countdown" style="font-size:20px;text-align:center;width:50%"></div>
<h4>Help us unglue this book!</h4>
<p>De Gruyter has agreed to run an ungluing campaign for this book, if it can get enough support from ungluers like you. The target price will be $2100, after which the book will be free for everyone on earth to read, copy, and share, forever (under a Creative Commons <a href="http://creativecommons.org/licenses/by-nc-nd/3.0/">BY-NC-ND</a> license).</p>
<p>They'll launch a campaign when 50 ungluers have wished for this book. Right now <span id="wisher_data"></span>. </p>
@ -16,8 +13,7 @@
var $j = jQuery.noConflict();
$j(document).ready(function(){
var countdown = 50 - numWishers;
$j("#degruyter_countdown").html(countdown + " ungluers to go").css({'color':'white', 'width':'auto', 'padding': '14.25px', 'pointer':'default'});
$j("#degruyter_countdown").parent().css({'width':'auto', 'margin':'0 15%'})
$j("#degruyter_countdown").html(countdown + " ungluers to go");
if(numWishers == 1) {
var wisherDataText = "1 ungluer has wished for this book"
@ -37,4 +33,4 @@
}
$j("#cta").html(callToAction);
});
</script>
</script>