B4J Question PDF problem with ViewerJS

Tayfur

Well-Known Member
Licensed User
Longtime User
Hello;
I used viewerJS in my code.
its generalyy work. But i found a problem .
it sometimes hide zoom button. But i need always showon.
I cheked on http://viewerjs.org/ (how can i visible options)
I cant found a answer.

did you know how can i change it. it has a option? I see problem if page has landscape page orientations.

OR

What is your choise PDf viewr in B4J.
Pelase share to us.
Thank you.
 
Last edited:

Tayfur

Well-Known Member
Licensed User
Longtime User
Hello;
I used viewerJS in my code.
its generalyy work. But i found a problem .
it sometimes hide zoom button. But i need always showon.
I cheked on http://viewerjs.org/ (how can i visible options)
I cant found a answer.

did you know how can i change it. it has a option? I see problem if page has landscape page orientations.

OR

What is your choise PDf viewr in B4J.
Pelase share to us.
Thank you.

I think I solved it.
I do not know the right way, but it works. I changed index.html file.

standart >> index.html ( search words : #toolbarMiddleContainer in index file)
#toolbarMiddleContainer,

updated >> index.html ( add : {visibility: visible;} )
#toolbarMiddleContainer{visibility: visible;},

B4X:
gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -o-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));}#toolbar {position: relative;}#toolbarMiddleContainer{visibility: visible;}, #toolbarLeft {visibility: hidden;}html[dir='ltr'] #toolbarLeft {margin-left: -1px;}html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {margin-left: -1px;}html[dir='ltr'] #toolbarLeft,html[dir='rtl'] #toolbarRight,html[dir='rtl'] #titlebarRight {position: absolute;top: 0;left: 0;}html[dir='rtl'] #toolbarLeft,html[dir='ltr'] #toolbarRight,html[dir='ltr'] #titlebarRight {position: absolute;top: 0;right: 0;}html[dir='ltr'] #toolbarLeft > *,html[dir='ltr']
 
Upvote 0

Tayfur

Well-Known Member
Licensed User
Longtime User
Upvote 0
Top