add reader lite
This commit is contained in:
@@ -483,6 +483,26 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel"
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
|
||||
.footer-text{
|
||||
margin-top:10px;
|
||||
background: white;
|
||||
border: 1px solid #dcdcdc;
|
||||
padding: 10px;
|
||||
font-size: .8em;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
embed[type="application/pdf"] {
|
||||
display: block;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 1260px) {
|
||||
.book_mini{
|
||||
font-size: .9em;
|
||||
@@ -599,6 +619,9 @@ input[type="email"],input[type="password"], input[type="text"], input[type="tel"
|
||||
width: 100%;
|
||||
font-size: 1.3em;
|
||||
}
|
||||
.zoomstatus{
|
||||
display: none;
|
||||
}
|
||||
.firstpage{
|
||||
margin-right: 15px!important;
|
||||
}
|
||||
|
||||
@@ -178,11 +178,11 @@ function startpdfviewer(newcurr){
|
||||
embed = false;
|
||||
}
|
||||
else if (category == 3){
|
||||
embed = true;
|
||||
embed = false; //true;
|
||||
}
|
||||
|
||||
if(isOpera){
|
||||
embed = true;
|
||||
embed = false;
|
||||
}
|
||||
|
||||
if (detect.phone()){
|
||||
@@ -191,7 +191,8 @@ function startpdfviewer(newcurr){
|
||||
|
||||
|
||||
if (embed){
|
||||
document.getElementById(pdfcanvas).innerHTML = '<embed src="'+ url +'" width="100%" type="application/pdf" style="height: 100vh;">';
|
||||
//document.getElementById(pdfcanvas).innerHTML = '<embed src="'+ url +'" width="100%" type="application/pdf" style="height: 100vh;">';
|
||||
document.getElementById(pdfcanvas).innerHTML = '<object data="'+ url +'" type="application/pdf" width="100%" height="100%" style="border: none;"><param name="toolbar" value="0"><param name="navpanes" value="0"><param name="view" value="FitH"></object>';
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user