Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

102
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda