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