Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

101
Views
Hightlight PDF text dynamically with pdfjs

I have an existing html viewer that will add highlights(annotate) certain words and also apply a tool tip to the annotation. Here is an example of the annotation

    <span
    data-placement="bottom"
    data-toggle="tooltip"
    data-html="true"
    rel="tooltip"
    id="ann-symp-151-169"
    title=""
    data-original-title="<table class='tooltiptable'>....</tr>"
    class="marked hilite-on symp"
    aria-describedby="tooltip542028"
>
    Hearing and Speech
</span>
<div class="tooltip fade bottom in" role="tooltip" id="tooltip542028" style="top: 702.953px; left: 160.758px; display: block;">
    <div class="tooltip-arrow" style="left: 50%;"></div>
    <div class="tooltip-inner">
        <table class="tooltiptable">
            <tbody>
                ....
            </tbody>
        </table>
    </div>
</div>

Here is what the hightlight would look like

enter image description here

I need to do add the annotation to a pdf.. This is not a user search.. I have the indexes of the word or phrase i need to annotate..

We currenlty use PDFObject with pdfjs to view pdf's ..

If anyone has any good examples of how to do this i would really appreciate it

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!