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

170
Visualizações
Embed: Make an updating background transparent

I wrote up this embed here which takes weather info from the specified site as an embed, then duplicates it in hopes to change the alpha channel of the color white to transparent. I can't seem to come to a conclusion. The issue is the weather app updates every 1 or 2 seconds. So I would need a loop as well IF I can even get the background to be transparent, which I haven't had any luck with yet.

<!DOCTYPE html>
<html lang="eng">

<head>
  <meta charset="UTF-8">
  <meta nameset="viewport" content="with=device-width, initial-scale=1.0">
  <title>ClearOutside</title>

  <style type="text/css">
body {
  background-color: transparent;

  -ms-zoom: 0.5;
  -moz-transform: scale(0.5);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.5);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.5);
  -webkit-transform-origin: 0 0;
}
  </style>
</head>

<body style="background-color:blue">
  <a href="https://clearoutside.com/forecast/37.61/15.10">
    <img id="forecast" src="https://clearoutside.com/forecast_image_small/33.07/-106.02/forecast.png" /></a>
  <canvas id="myCanvas" width="505" height="41">

<script>
  document.getElementById("forecast").onload = function() {
    var c = document.getElementById("myCanvas");
    var ctx = c.getContext("2d");
    var img = document.getElementById("forecast");
    ctx.drawImage(img, 0, 0);
    var imgData = ctx.getImageData(0, 0, c.width, c.height);
  };
</script>
</body>
</html>

Any help would be greatly appreciated!!

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