Link to a specific page of pdf

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Aug 04, 2017 4:05 pm
Reply with quote
Report this post
Hi,
When I try to link to a specific page of a pdf with /images/test-pdf.pdf#page=6 for example, pdf even doesn't open. There's an error (in browser development tool) saying :
Uncaught Error: Syntax error, unrecognized expression: #page=6
at Function.fa.error (jquery.min.js?2245c14…:2)
at fa.tokenize (jquery.min.js?2245c14…:2)
at fa.select (jquery.min.js?2245c14…:2)
at Function.fa (jquery.min.js?2245c14…:2)
at Function.a.find (jquery-migrate.min.js?2245c14…:2)
at n.fn.init.find (jquery.min.js?2245c14…:2)
at n.fn.init.a.fn.find (jquery-migrate.min.js?2245c14…:2)
at a.fn.init.n.fn.init (jquery.min.js?2245c14…:2)
at a.fn.init (jquery-migrate.min.js?2245c14…:2)
at n (jquery.min.js?2245c14…:2)

I've got this error with CloudHost, but with other Gavick's templates too. With Protostar or Beez for example (and with other templates providers I won't name ;) ) it's OK, pdf open on the right page. Any idea to solve the problem ?
User avatar
Fresh Boarder

teitbite
Thu Aug 10, 2017 10:56 am
Reply with quote
Report this post
Hi

Hash sign is used for smooth scrolling function, so having "#page=6" is trying to scroll to none existing place. Simply disable using Smooth Scroll in template's settings.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.