Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

103
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda