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

240
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
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