correct nav book
This commit is contained in:
@@ -311,16 +311,26 @@ h1 {
|
||||
color: white;
|
||||
font-size: 1.4em;
|
||||
justify-content: center;
|
||||
padding-left: 6px;
|
||||
}
|
||||
#stuff-bar a {
|
||||
color: white;
|
||||
}
|
||||
#zoomnav, #pagenav {
|
||||
width: 45%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#zoomnav{
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
#pagenav {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
|
||||
#zoomnav div, #pagenav div {
|
||||
margin-right: 15px;
|
||||
}
|
||||
@@ -359,6 +369,11 @@ h1 {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.click-info{
|
||||
font-size: .8em;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.book_small{
|
||||
position:relative;
|
||||
}
|
||||
@@ -616,7 +631,6 @@ embed[type="application/pdf"] {
|
||||
margin-right: 0px;
|
||||
}
|
||||
#zoomnav, #pagenav {
|
||||
width: 100%;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
.zoomstatus{
|
||||
|
||||
@@ -7,7 +7,7 @@ function renderPage() {
|
||||
var el_title = document.getElementById('pdfprogress');
|
||||
|
||||
|
||||
//el_title.innerHTML = 'Идет подготовка страницы ...';
|
||||
el_title.innerHTML = 'Идет подготовка страницы ...';
|
||||
|
||||
pageRendering = true;
|
||||
// Using promise to fetch the page
|
||||
@@ -34,6 +34,8 @@ function renderPage() {
|
||||
canvas.height = viewport.height;
|
||||
canvas.width = viewport.width;
|
||||
|
||||
canvas.innerHTML = '';
|
||||
|
||||
// Render PDF page into canvas context
|
||||
var renderContext = {
|
||||
canvasContext: context,
|
||||
@@ -50,7 +52,7 @@ function renderPage() {
|
||||
pageNumPending = null;
|
||||
|
||||
}
|
||||
// el_title.innerHTML = '';
|
||||
el_title.innerHTML = '';
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -290,8 +290,8 @@ function read_kuri($hash, $page = 0, $promo = 'full', $version = null){
|
||||
|
||||
|
||||
if ($page > 1) {
|
||||
//$title = $price['pricename']." / $page стр.";
|
||||
$title = $price['pricename'];
|
||||
$title = $price['pricename']." / стр. $page - Аргументы Недели";
|
||||
//$title = $price['pricename'];
|
||||
$prevpage = $page - 1;
|
||||
$prevurl = "$baseurl$prevpage";
|
||||
if ($promo == 'full'){
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div id="the-canvas">
|
||||
<div id="pdfprogress"></div>
|
||||
<noscript>
|
||||
<embed src="<?=$pdfile?>" width="100%" type="application/pdf" style="height: 100vh;">
|
||||
</noscript>
|
||||
@@ -68,7 +68,6 @@
|
||||
<option value="<?=$i?>"<?=$selected?>><?=$i?></option>
|
||||
<?endfor?>
|
||||
</select>
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
</div>
|
||||
|
||||
<?if (isset($nexturl)):?>
|
||||
@@ -81,6 +80,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<p id="downloadtitle">
|
||||
<?if ($promo == 'pr'):?>
|
||||
<a href="https://argumenti.ru/robomail/486?utm_source=argumenti.ru&utm_medium=subscript&utm_campaign=promo" target="_blank">Получайте «Газету на @email»</a>
|
||||
@@ -94,6 +94,7 @@
|
||||
<span id="downarrow">/ <a href="<?=$htmlurl?>">Режим для чтения</a></span>
|
||||
<?endif?>
|
||||
</p>
|
||||
<p class="click-info"><i class="fa fa-mouse-pointer" aria-hidden="true"></i> кликайте чтобы листать страницы</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<//base href="<?=SITE?>">
|
||||
<script src="/pub/scripts/pdf.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mobile-detect/1.4.4/mobile-detect.min.js"></script>
|
||||
<script src="/pub/scripts/klanviewer.js?ver=39"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=253">
|
||||
<script src="/pub/scripts/klanviewer.js?ver=43"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/pub/css/an.css?ver=257">
|
||||
<link rel="shortcut icon" href="/favicon.ico?ver=2" type="image/x-icon" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png?ver=2" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png?ver=2" />
|
||||
|
||||
Reference in New Issue
Block a user