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

241
Vistas
El menú aparece automáticamente al seleccionar el texto

Si quisiera que un menú apareciera automáticamente justo cuando selecciono el texto (no es necesario hacer más clic), ¿qué método podría ser una de las opciones? ¡Gracias!

 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> Paragraph 1: In the seventeenth and eighteenth centuries, the British parliament enacted a number of laws, called Navigation Acts, governing commerce between Britain and its oversea colonies. For example, the Navigation Acts of 1600 and 1603 barred the empire's colonial merchants from exporting such commodities as sugar and tobacco anywhere except to England and from importing goods in non-English ships. Similarly, the Mollases Act of 1733 taxed all foreign mollases (a thick liquid drained from sugarcane and used to make rum) entering the mainland American colonies at sixpence per gallon. This act was intended less to raise revenue than to serve as protective tariff (tax) than would benefit British West Indian sugar producers at the expenses of their French rivals. By 1750 a long series of Navigation Acts were in force, with several effects on the North American colonial economy. </body> </html>

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Puedes usar esto:

Solo cambia la parte de alerta a lo que quieras hacer

 var t = ''; function gText(e) { t = (document.all) ? document.selection.createRange().text : document.getSelection(); if (t == "raise revenue" || t == " raise revenue" || t == "raise revenue " || t == " raise revenue ") { alert("Popped UP!!!") } } document.onmouseup = gText; if (!document.all) document.captureEvents(Event.MOUSEUP);
 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> Paragraph 1: In the seventeenth and eighteenth centuries, the British parliament enacted a number of laws, called Navigation Acts, governing commerce between Britain and its oversea colonies. For example, the Navigation Acts of 1600 and 1603 barred the empire's colonial merchants from exporting such commodities as sugar and tobacco anywhere except to England and from importing goods in non-English ships. Similarly, the Mollases Act of 1733 taxed all foreign mollases (a thick liquid drained from sugarcane and used to make rum) entering the mainland American colonies at sixpence per gallon. This act was intended less to raise revenue than to serve as protective tariff (tax) than would benefit British West Indian sugar producers at the expenses of their French rivals. By 1750 a long series of Navigation Acts were in force, with several effects on the North American colonial economy. </body> </html>

Modificó la respuesta de Robert para adaptarla a su problema.

about 4 years ago · Juan Pablo Isaza Denunciar
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